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

Posted on 2009-05-03
Medium Priority
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?

Question by:grouchyfd
  • 3
  • 2
LVL 15

Accepted Solution

JackOfPH earned 2000 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.

Author Comment

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

Expert Comment

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

Author Comment

ID: 24303328
Not yet.

Author Comment

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.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Watch the video to know how one can repair corrupt Exchange OST file effortlessly and convert OST emails to MS Outlook PST file format by using Kernel for OST to PST converter tool. It can convert OST to MSG, MBOX, EML to access them. It can migrate…
If you are looking for an automated tool which can generate reports for Outlook emails and other items from PST file, then you can go for Kernel PST Reporter tool. The reports which are created by this tool are helpful to analyze and understand PST …

569 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