By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,571 Members | 1,659 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,571 IT Pros & Developers. It's quick & easy.

Is Databinding is possible in different dataset.

P: n/a

I have an application in VB.Net, I use two different dataset for a Data Form.
One for Vendor table and other for state table. But it display error. What is wrong ?

Here are code :-


txtName.DataBindings.Add("Text", ds1, "Vendors.VendorName")

txtCity.DataBindings.Add("Text", ds1, "Vendors.VendorCity")

With cboStates

.DataSource = ds2.Tables("States")

.DisplayMember = "StateCode"

.ValueMember = "StateCode"

.DataBindings.Add("SelectedValue", ds1, "Vendors.VendorState")

End With

Hardik Shah
Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.