Base on my understanding, you want to bind dcInvoiceNumber in dtPurchaseInvoice with txtInvoiceNumber. You can do it in the VS designer.
1. Click the "+" sign in front of "(DataBindings)" property.2. Set the Text property with the data field in the listed DataSource/BindingSource.
If you have any question, please feel free to tell me.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?