By using SPQuery, how to get all details from a list.
//Filtered Query
“SPQueryquery = new SPQuery();
query.Query = "<Where><Eq><FieldRef Name='State' /> <Value Type='Text'>" +
strState + "</Value> </Eq></Where>";”
In a custom list called “State”, I have created 2 columns.
1) State Id, 2) State
I need to get 2 columns data without any filter. How/what should I write a query
for this.