I have an asp.net application, and now I am using datasets for data manipulation. I recently started to convert this dataset to a List collection. But, in some places it doesn\'
Generic List
In your case with a row array:
var rows = rowsArray.Where(row => row["LastName"].ToString().StartsWith("a"));
If you are using DataRowCollection, you need to cast it first.
var rows = dataTableRows.Cast().Where(row => row["LastName"].ToString().StartsWith("a"));