HighTechTalks DotNet Forums  

Changing the Connection of a Query in a TypedDataSet at Runtime

Dotnet Framework (ADO.net) microsoft.public.dotnet.framework.adonet


Discuss Changing the Connection of a Query in a TypedDataSet at Runtime in the Dotnet Framework (ADO.net) forum.



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

Default Changing the Connection of a Query in a TypedDataSet at Runtime - 12-24-2007 , 02:48 PM






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 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 - 2008, Jelsoft Enterprises Ltd.