User Control data binding
C#
1
Posts
1
Posters
0
Views
1
Watching
-
What have I done wrong. I slapped up a quick dataset navigation control (first, back, next,last) to add to any form i create. somewhere along the line i have mangled something and now to update both the user control and the parent form (with it's databound controls) i need to add BOTH these two lines: this.Parent.BindingContext[ControlDataSet, TableName].Position -= 1; this.BindingContext[ControlDataSet, TableName].Position -= 1; where : ControlDataSset is a DataSet on the parent form and TableName is a string containing the name of the table in the dataset I wish to move through The VB version only requires the second line. It is incredible simple i am just stumped. here thanks in advance