Problem adding table to DataSet

J

Jeff

..NET 2.0

I'm working on .NET 2.0 project which contains a DataSet. On this DataSet I
can right click on the tables and select "preview data" and I can a preview
of table data - which to me shows that VS2005 somehow is connected to the
project database.

The problem comes when I want to add a new table to the databaset. I know I
just need to drag the table from Server Explorer (from database) on to the
DataSet but no databases shows up when I click on Server Explorer. Looks
like I frist need to create a databse connection... but still VS2005 is able
to retrieve data from the existing tables in the DataSet...

any suggestions on how fix this are most welcome!

jeff
 
J

Jeff

I solved it, in Server Explorer I added a database connection to the
database and then dragged the table I wanted over to the dataset
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top