Solved

How do I get the new database tables to show up in my ADO.net datasource?

Posted on 2009-05-03
5
180 Views
Last Modified: 2013-11-26
I am doing an upgrade to a project from about 6 mos. ago. This is a windows app (ADO.Net) coupled to a database (SQL Server 2000). I added 2 new tables to the database. I have a new form (in the windows app) that needs to acces these 2 tables. When I go look for them in  VS2005 server explorer, or under the Data Source window, the new tables do not show up. It's been a few months since I had to do this, what am I doing wrong?

Thanks
0
Comment
Question by:grouchyfd
  • 3
  • 2
5 Comments
 
LVL 15

Accepted Solution

by:
JackOfPH earned 500 total points
ID: 24292432
Are you sure, you are modifying the correct database? If the answer is yes then I have several suggestions:

First, Try refreshing the database by doing the following:
 1.) On the server explorer, right click the database then click refresh.
 2.) Then check if the database is updated with the new tables.
 3.) If this don't work, try the second suggestion.

Second, Try modifying the database connection:
 1.) On the server explorer, right click the database then click modify connection.
 2.) Insert or update all the required fields.
 3.) Then check if the database is updated with the new tables.
 4.) If this don't work, try the third suggestion.

Third, create a new connection:
 1.) On the server explorer, right click the database then click delete.
 2.) On the server explorer, right click Data connection then click Add connection.
 3.) If this don't work, try the forth suggestion.

Forth, check for the latest updates in microsoft.

Fifth, Repair visual studio 2005.
0
 

Author Comment

by:grouchyfd
ID: 24299884
Unfortunately I have already done the first 3 you suggested.
0
 
LVL 15

Expert Comment

by:JackOfPH
ID: 24301203
So did you try my fourth and fifth suggestion?
0
 

Author Comment

by:grouchyfd
ID: 24303328
Not yet.
0
 

Author Comment

by:grouchyfd
ID: 24306440
Thank you for jarring my memory. I had to step away form it for a little while. I had connected to the right server but not the right database, one that had very similar table and info. Once I made the right connection it was fine. # 3 was the right procedure.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video discusses moving either the default database or any database to a new volume.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now