PC Review


Reply
Thread Tools Rate Thread

Changing the Connection of a Query in a TypedDataSet at Runtime

 
 
michael
Guest
Posts: n/a
 
      24th Dec 2007
I have a TypedDataSet. Within it there is a QueriesTableAdapter with a bunch
of Queries(stored procedures that perform updates & deletes). I need to
change the Connection of the Query at runtime. Of course, I can't change the
ConnectionString in My.Settings at runtime because it's ReadOnly.
Unfortunately, I can't find where the Query exposes a
Connection/ConnectionString property that I can change!

This seems a bit odd since I can change the Connections of TableAdapters at
runtime.


--
Michael
 
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
AspNetSqlMembershipProvider connection string changing at runtime Larry Neylon Microsoft ASP .NET 7 13th Apr 2007 03:42 PM
Changing SQL connection at runtime samcogan@gmail.com Microsoft Dot NET 3 21st Nov 2006 02:20 PM
Changing connection string at runtime from login form Tim Nelson Microsoft C# .NET 1 15th Apr 2005 06:51 PM
Changing Connection at runtime Diana Mueller Microsoft Access ADP SQL Server 0 30th Mar 2005 08:02 AM
Changing query at runtime Adrian Jansen Microsoft Access Security 4 31st Mar 2004 12:49 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:19 PM.