PC Review


Reply
Thread Tools Rate Thread

Connection string from Dataset VS2005

 
 
paolol
Guest
Posts: n/a
 
      21st Jun 2006
Hi,
I will like to read and set the Connection string in a dataset created
by the Vs2005 wizard, but I'm not able to find any way to interact with
is connection string ( unless I change the Xml and reload the app ).
Thanks,
Paolol
 
Reply With Quote
 
 
 
 
Ignacio Machin \( .NET/ C# MVP \)
Guest
Posts: n/a
 
      21st Jun 2006
HI,


a connectionstring in a dataset?


--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"paolol" <paolol@no_spamsalsan.net> wrote in message
news:%(E-Mail Removed)...
> Hi,
> I will like to read and set the Connection string in a dataset created by
> the Vs2005 wizard, but I'm not able to find any way to interact with is
> connection string ( unless I change the Xml and reload the app ).
> Thanks,
> Paolol



 
Reply With Quote
 
pvdg42
Guest
Posts: n/a
 
      21st Jun 2006

"paolol" <paolol@no_spamsalsan.net> wrote in message
news:%(E-Mail Removed)...
> Hi,
> I will like to read and set the Connection string in a dataset created by
> the Vs2005 wizard, but I'm not able to find any way to interact with is
> connection string ( unless I change the Xml and reload the app ).
> Thanks,
> Paolol


Your dataset has a collection of DataTable objects, each one of which
can/should have a TableAdapter. The TableAdapter Connection.ConnectionString
should give you what you want.


 
Reply With Quote
 
paolol
Guest
Posts: n/a
 
      21st Jun 2006
You are a wonderfull helper ))
Now I understand better how this works Thanks a Million
Paolol

pvdg42 ha scritto:
> "paolol" <paolol@no_spamsalsan.net> wrote in message
> news:%(E-Mail Removed)...
>> Hi,
>> I will like to read and set the Connection string in a dataset created by
>> the Vs2005 wizard, but I'm not able to find any way to interact with is
>> connection string ( unless I change the Xml and reload the app ).
>> Thanks,
>> Paolol

>
> Your dataset has a collection of DataTable objects, each one of which
> can/should have a TableAdapter. The TableAdapter Connection.ConnectionString
> should give you what you want.
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DataSet Designer and embedded connection string Ken Microsoft Dot NET Framework Forms 0 11th Jan 2008 04:52 PM
Question about automatic connection string settings using VS2005 =?Utf-8?B?Qi4gQ2hlcm5pY2s=?= Microsoft ADO .NET 2 11th Jul 2007 07:16 PM
DataSet connection string Kent Boogaart Microsoft Dot NET 1 11th Mar 2006 01:16 AM
Set connection string at run time for typed DataSet (Framework 2.0 =?Utf-8?B?VGhvbWFzIFRheWxvcg==?= Microsoft ADO .NET 6 20th Jan 2006 04:01 PM
Can we use the exist connection string when create dataset ad Microsoft C# .NET 1 28th Nov 2005 06:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:43 AM.