Re: Problem adding table to DataSet
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
"Jeff" wrote in message
news:%23TrG$C4wHHA.736@TK2MSFTNGP06.phx.gbl...
> .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
>
>
Date:Wed, 11 Jul 2007 08:23:33 +0200
Author:
|