Windows Develop Bookmark and Share   
 index > Windows Forms Designer > No tables shown for dataset in DataSource drop down in designer
 

No tables shown for dataset in DataSource drop down in designer

Hi All,

Our project currently has 15 data sets in it. I have just recently added a new one and added some table adapters to it.

The problem is when I go to bind the new tables to my controls, there are no tables are displayed under the dataset in the data source drop down. (i.e. no plus sign to expand to select the table). The previous dataset still have all their tables displayed though.

I have tried deleting and re-adding the dataset, with different names, and different tables, clean, re-build, restarting my machine and still nothing. New projects don't have this problem but re-creating this project would be a real pain.

The project is in VB and .net 3.5. Any help or ideas would be appreciated.

Cheers,
Nathan.
Nathan__  Wednesday, September 30, 2009 12:36 AM
Hi Ling,

I am unable to reproduce this error outside of the project i am currently using. The only workaround that i have found is to copy an existing data set that works, add it to the project, delete the tables that are in it and rename the dataset.

Thanks,
Nathan.
Nathan__  Tuesday, October 06, 2009 12:50 AM

Hi,

 

Sorry. I am not able to reproduce this issue. Have you add the dataset in Data Source Configuration Wizard?


Could you please provide more details or make a demo project for us to test? Please upload your demo project to some server and offer us the URL.  Skydrive (
http://skydrive.live.com/ ) may be a good option. You can sign up 25GB free space only with your Windows Live Passport.

 

Best regards,

Ling Wang

 


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Monday, October 05, 2009 8:09 AM
Hi Ling,

I am unable to reproduce this error outside of the project i am currently using. The only workaround that i have found is to copy an existing data set that works, add it to the project, delete the tables that are in it and rename the dataset.

Thanks,
Nathan.
Nathan__  Tuesday, October 06, 2009 12:50 AM

I’m glad to hear that you got it working.

Thank you for sharing useful information here.


It will be very beneficial
for other community members having the similar questions.

Best regards,
Ling Wang


Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ling Wang  Wednesday, October 07, 2009 2:46 AM

You can use google to search for other answers

Custom Search

More Threads

• How to create new property (cols,Rows) to DataGridView
• Apply DesignTimeVisible Attribute Dynamically By Condition
• Get the parent Control object...
• Hide controls for propertygrid in Property Window
• Color properties in Visual Studio 2008 Windows Forms Designer
• Name Property
• Make ComboBox bigger.
• Developer enabled
• how to have TextBox and Button in a DataGridViewCell
• Horizontal Scrollbar to a PropertyGrid