Bala Murugan

Bala Murugan

  • NA
  • 159
  • 13.1k

Using LINQ am searching with a textbox (integer value)

Dec 13 2013 1:38 AM
Am getting an error cannot implicitly convrt type int to IEnumerable



CODE
 var searchid = textBox1.Text.Trim();
            var quer = (from p in std.student
                        where p.StudId.Text.ToString(quer)
                         select p).Count();
            dataGrid1.ItemsSource = quer;
                         

Answers (4)