Windows Develop Bookmark and Share   
 index > Windows Forms General > ADO.Net question
 

ADO.Net question

I am building a form on the "tab" control. I have almost 20 drop-down listboxes. I would like to be able to pull all of the data that I need for the listboxes in one call to the database. When I tried to create a dataset to do this, it automatically created cross-joins on all of the tables.
Is there a way to pull multiple individual tables in a single dataset, or do I need to create a unique dataset for each drop-down list box?
Is there another direction that I should be looking? Thanks for the assist.

Mark F.
MigrationUser 1  Monday, June 21, 2004 9:27 AM
If you are using SQL Server, you can write the stored procedure to return multiple resultsets and then refer to the appropiate table index from the dataset object.

MigrationUser 1  Monday, June 21, 2004 3:52 PM

You can use google to search for other answers

Custom Search

More Threads

• Multi-language input validation
• WebBrowser Empty Document
• Flash button not work in WebBrowser component using Framework 2.0
• Locked Up Form
• Synchronize unique custom BackgroundWorker, BackgroundWorkers
• What is the common good practice to control forms flow in multiple form application?
• How to check Control's Visible property, without showing form?
• Calling C++ methods from C# code
• Setting custom control default settings from config
• Property Page control