G
Guest
Hi,
I have a datatable and am searching the column called File for a particular
value called xFile (a number).
DataView dv = new DataView(tCat, "", "File", DataViewRowState.CurrentRows);
int xrow = dv.Find(xFile);
MessageBox.Show(dv[xrow]["File"].ToString());
But the messagebox just shows xrow to be the value of xFile, not the row
it's in. What am I missing?
Thanks!
Mel
I have a datatable and am searching the column called File for a particular
value called xFile (a number).
DataView dv = new DataView(tCat, "", "File", DataViewRowState.CurrentRows);
int xrow = dv.Find(xFile);
MessageBox.Show(dv[xrow]["File"].ToString());
But the messagebox just shows xrow to be the value of xFile, not the row
it's in. What am I missing?
Thanks!
Mel