F
fanor
Hi guys,
I understand that a dataview is kind of a collection of indexes to the
records of the table. So, if I have an index of a record in the
dataview I should be able to know the position of that record on the
table. see the code
..........
..........
dt=this.dsCM1.clients;
System.Data.DataView dv = dt.DefaultView;
dv.Sort="phone";
idx=dv.Find("703-231 8765");
NOw i want to move in the table to that record , if I do something like
this.BindingContext[this.dsCM1,"clients"].Position = idx;
doesn't work because idx points to a record in the dataview not in
table clients.
TIA
I understand that a dataview is kind of a collection of indexes to the
records of the table. So, if I have an index of a record in the
dataview I should be able to know the position of that record on the
table. see the code
..........
..........
dt=this.dsCM1.clients;
System.Data.DataView dv = dt.DefaultView;
dv.Sort="phone";
idx=dv.Find("703-231 8765");
NOw i want to move in the table to that record , if I do something like
this.BindingContext[this.dsCM1,"clients"].Position = idx;
doesn't work because idx points to a record in the dataview not in
table clients.
TIA