Moving in DataSet...Manually (code)??

  • Thread starter Thread starter al
  • Start date Start date
A

al

Greetings,

After an ugly expiernce with form data-binding, I will be very
thankfull if someone please can show me how to move in dataset
manually, through code??


MTIA,
Grawsha
 
Hi,

You will have to find the right BindingManagerBase.
Suppose you bind the text box with similar statament:
this.textBox1.DataBindings.Add(new Binding("Text", dataSet11,
"Categories.CategoryName"));

You can call something like
BindingManagerBase bmb = dataset.BindingContext[dataSet11, "Categories"];

Once you get grip on BindingManagerBase there is its Position property you
want to change.
Mind that for all controls bound in similar way (dataSet11, "Categories")
the BindingManagerBase is the same.
 
Back
Top