Z
Zürcher See
If I know the datagrid row there is a method to get the dataset row?
Now I use the dataset id the find it out,
id=this.dataGrid1[this.dataGrid1.CurrentRowIndex,0]; // column 0 is id
DataRow drRow=this.dataSet1.Tables["Table"].Rows.Find(id);
but I don't like it very much, there is a "cleaner" way the get the dataset
row?
Now I use the dataset id the find it out,
id=this.dataGrid1[this.dataGrid1.CurrentRowIndex,0]; // column 0 is id
DataRow drRow=this.dataSet1.Tables["Table"].Rows.Find(id);
but I don't like it very much, there is a "cleaner" way the get the dataset
row?