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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top