Linq To a DataTable
Not that familar with linq, but this does seem rather promising. A query to get elements from a datatable.
var sd = from myRow in myDt.AsEnumerable()
where myRow.Field<int>("ID") == cbID
select myRow.Field<DateTime>("DateSent");
http://stackoverflow.com/questions/10855/linq-query-on-a-datatable
var sd = from myRow in myDt.AsEnumerable()
where myRow.Field<int>("ID") == cbID
select myRow.Field<DateTime>("DateSent");
http://stackoverflow.com/questions/10855/linq-query-on-a-datatable
Comments
Post a Comment