LINQ in Action roller

How to write where condition in LINQ?

Hi to all, I read some records from xml file to DataTable, now i want to query to this datatable using Linq so i write like below dtLinq is my Datatable object. Actually all columns are displaying in the combo box( CboField) based on this where condition will change var FilterData = from MyObject in dtLinq.AsEnumerable() where MyObject.Field string >(CboField.SelectedItem) > TxtValue.Text select new { WORKSOURCE = MyObject.Field string >( "WORKSOURCE" ), SITEID = MyObject.Field string >( "SITEID" Read More...
Published Thursday, November 13, 2008 2:06 AM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication