List<SearchBL> list = new List<SearchBL>(); DataTable dt;
Foreach (DataRow dr in dt.Rows)
{
SearchBL result = from item in list where where item.ID == dr.Field<int>("ID") select item....
My datagridview populates with existing data if I filter my search with FirstorDefault. But it turns out I don't need that. Or
Any help is appreciated. Thanks!
ramya bharathPosted Apr 24, 2015, 2:30 PM
If you want example of contains refer this
https://msdn.microsoft.com/en-us/library/gg509017.aspx#BKMK_UsingContainsOperator