If I have a query
var query = from c in ds.Prices
select c;
dataGridControl1.AutoCreateColumns = true;
dataGridControl1.ItemsSource = query;
datagrid show all data from table(`ds = new DataSet()). But when I add condition
var query = from c in ds.Prices
where c.idsticker.Equals("GOOG")
select c;
dataGridControl1.AutoCreateColumns = true;
dataGridControl1.ItemsSource = query;
datagrid is empty. But value GOOG exists in table(idsticker varchar(10) in sql server). When I compare int values(for example condition is where c.prices > 660) it works normal.
What is wrong?