Solved

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

Posted on 2009-05-03
5
184 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

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

685 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