Solved

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

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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

911 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

25 Experts available now in Live!

Get 1:1 Help Now