Solved

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

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

809 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