How I can fill a DataSet from two diferent Combobox

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, i creating a form where i need fill a dataset with records that come from two diferents Comboboxes, and the same time call information in the table that is relate with the information that are in the ComboBoxes. I'm using VisualBasic .NET. how I can do that. I will appreciate the help.

Thanks
 
You can either load both tables and use a DataRelation
http://www.knowdotnet.com/articles/datarelation.html Or you can bind the
second one to a DataView for instance, and set its RowFilter property based
on the value of the First combobox. At www.knowdotnet.com Check out my
"Efficiently using ADO.NET xxx" articles, I go through this there..

--
W.G. Ryan MVP Windows - Embedded

Have an opinion on the effectiveness of Microsoft Embedded newsgroups?
Let Microsoft know!
https://www.windowsembeddedeval.com/community/newsgroups
Ari said:
Hi, i creating a form where i need fill a dataset with records that come
from two diferents Comboboxes, and the same time call information in the
table that is relate with the information that are in the ComboBoxes. I'm
using VisualBasic .NET. how I can do that. I will appreciate the help.
 
Back
Top