Here is a small sample that compares the row values and takes action:
DataTable dtSelected = dsMap.Tables[0].Copy();
foreach(DataRow dr in dtSelected.Rows)
if((Int32)dr["col_order"] == 0)
dr.Delete();
In this sample, I use a copy of the table, because I am deleting rows and don't want to update the base table with the changes.
You should also check out the following link. They have tons of info on datagrids and using datasets.
>Data values. I am pulling my hair out (and I can't afford to lose much more) attempting to work with datasets.
>
>>I spent all weekend struggling with this. What values are you trying to return? Column properties like width, alignment, etc or data values from the rows in the column?
>>
>>
>>
>>>I am having difficulty referring the the values from a column in a dataset. It's probably something simple, but it has me stumped.