HighTechTalks DotNet Forums  

DataAdapters & VS05 B2

Dotnet Data Tools microsoft.public.dotnet.datatools


Discuss DataAdapters & VS05 B2 in the Dotnet Data Tools forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Jonesie
 
Posts: n/a

Default DataAdapters & VS05 B2 - 06-08-2005 , 05:19 PM






In VS03 I can use a dataadapter to fill multipe tables in a dataset using a
stored proc in SQL2k that returns multiple result sets.

In VS05 B2 the DataAdapter is not in the toolbox by default. I'm sure I can
add it but is there a 'better' way of doing this now with table adapters or
something else?



Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default RE: DataAdapters & VS05 B2 - 07-22-2005 , 04:26 PM






Hi Jonesie

If you open the Data Sources window in Visual Studio 2005 Beta2 (Data >
Show Data Sources menu option), you can add a data source which will allow
you to data-bind items from the datasource to controls on the Windows Form.
Here is a link to an article in the MSDN pre-release documentation to help
you on your way:

http://msdn2.microsoft.com/library/m...us,vs.80).aspx

thanks

Mike

--

VSData Team
Please post to our newsgroup: microsoft.public.dotnet.datatools
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------

Quote:
Thread-Topic: DataAdapters & VS05 B2
thread-index: AcVsb7HGJMg8ENRtT66jvI1mqsPSgQ==
X-WBNR-Posting-Host: 210.48.109.206
From: "=?Utf-8?B?Sm9uZXNpZQ==?=" <Jonesie (AT) discussions (DOT) microsoft.com
Subject: DataAdapters & VS05 B2
Date: Wed, 8 Jun 2005 14:19:02 -0700
Lines: 8
Message-ID: <EA0E5834-9F72-41E2-8551-C544DBD976C3 (AT) microsoft (DOT) com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.datatools
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.dotnet.datatools:852
X-Tomcat-NG: microsoft.public.dotnet.datatools

In VS03 I can use a dataadapter to fill multipe tables in a dataset using
a
stored proc in SQL2k that returns multiple result sets.

In VS05 B2 the DataAdapter is not in the toolbox by default. I'm sure I
can
add it but is there a 'better' way of doing this now with table adapters
or
something else?





Reply With Quote
  #3  
Old   
Jonesie
 
Posts: n/a

Default RE: DataAdapters & VS05 B2 - 07-22-2005 , 06:03 PM



Thanks but DataSources don't work here. You still have to use a data adapter
- at least that's what I've done. Also, DataSources aren't avaialble in web
apps and it's not the binding that is the problem.

As I understand it, DataSets & DataComponents only give you table adapters.
What I'd really like to do is add a DataAdapter to a DataSet designer that
could populate tables in the DataSet. Essentially I've done this manually by
creating a seperate component with the DataAdapter and then having code in
the DataSet to use this.

Thanks
--
Peter G Jones
..Net MVP
New Zealand
http://jonesie.net.nz


"Mike Droney [MSFT]" wrote:

Quote:
Hi Jonesie

If you open the Data Sources window in Visual Studio 2005 Beta2 (Data
Show Data Sources menu option), you can add a data source which will allow
you to data-bind items from the datasource to controls on the Windows Form.
Here is a link to an article in the MSDN pre-release documentation to help
you on your way:

http://msdn2.microsoft.com/library/m...us,vs.80).aspx

thanks

Mike

--

VSData Team
Please post to our newsgroup: microsoft.public.dotnet.datatools
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------

Thread-Topic: DataAdapters & VS05 B2
thread-index: AcVsb7HGJMg8ENRtT66jvI1mqsPSgQ==
X-WBNR-Posting-Host: 210.48.109.206
From: "=?Utf-8?B?Sm9uZXNpZQ==?=" <Jonesie (AT) discussions (DOT) microsoft.com
Subject: DataAdapters & VS05 B2
Date: Wed, 8 Jun 2005 14:19:02 -0700
Lines: 8
Message-ID: <EA0E5834-9F72-41E2-8551-C544DBD976C3 (AT) microsoft (DOT) com
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.datatools
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.dotnet.datatools:852
X-Tomcat-NG: microsoft.public.dotnet.datatools

In VS03 I can use a dataadapter to fill multipe tables in a dataset using
a
stored proc in SQL2k that returns multiple result sets.

In VS05 B2 the DataAdapter is not in the toolbox by default. I'm sure I
can
add it but is there a 'better' way of doing this now with table adapters
or
something else?






Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.