BindingContext - question

  • Thread starter Thread starter Agnes
  • Start date Start date
A

Agnes

I read some example . there are two different syntax to bind the textbox.
1) Me.txtCompanyName.DataBindings.Add("text", dtTable, "companyname")
2) Me.txtBillingName.DataBindings.Add("text", dsDataSet,
"myTable.companyname")

Which one is correct ??
Thanks
 
Hi,

Both

Ken
-------------------
I read some example . there are two different syntax to bind the textbox.
1) Me.txtCompanyName.DataBindings.Add("text", dtTable, "companyname")
2) Me.txtBillingName.DataBindings.Add("text", dsDataSet,
"myTable.companyname")

Which one is correct ??
Thanks
 
As i use (1), it is fail to move the position of record, i think it is fail
ar
 

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

Similar Threads


Back
Top