DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Wed, 11 Jul 2007 08:00:10 +0200,    posted on: microsoft.public.dotnet.framework.adonet        back       

Thread Index
  1    Jeff
          2    Jeff


Problem adding table to DataSet   
..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:00:10 +0200   Author:  

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:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us