Can you please provide me with a sample syntax for it?
Something like this?
var qry = (ds.table.Select(s => s.col, string.Empty, DataViewRowState.ModifiedCurrent));
thanks
Can you please provide me with a sample syntax for it?
Something like this?
var qry = (ds.table.Select(s => s.col, string.Empty, DataViewRowState.ModifiedCurrent));
thanks
MSDN Documentation on querying the DataRowView.
DataTable table = new DataTable();
table.Columns.Add("A", typeof(int));
table.Rows.Add(1);
table.Rows.Add(2);
table.Rows.Add(3);
table.AcceptChanges();
DataView view = new DataView(table);
table.Rows[1][0] = -2;
table.Rows[2][0] = -3;
view.RowStateFilter = DataViewRowState.ModifiedCurrent;
var query = from DataRowView rowView in view
select rowView;