PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft ADO .NET
how to: bindingSource.Current <=> DataTable.Row
Forums
Newsgroups
Microsoft DotNet
Microsoft ADO .NET
how to: bindingSource.Current <=> DataTable.Row
![]() |
how to: bindingSource.Current <=> DataTable.Row |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
What's the best way (proper) to get dataRow when I have
bindingsource.Current item. I use : myTableRow= ((MyDataSet.MyTableRow)((DataRowView)(MyBindingSource.Current)).Row) It works, but it doesn't elegantly to me. And in the other way: I have dataRow and i want to find position of this row in my DataSet. I use: MyBindingSource.Position = MyBindingSource.Find("id", myTableRow.id); May be there is an easier way ? |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

