Wednesday, April 15, 2009

Filtering using Linq


Filtering datarow using Linq.


object[] ArrDr = DR.ItemArray;

IList RowValue = (from filter in ArrDr where filter.ToString() != "" where filter.ToString() != " " select filter).Distinct().ToList();