Change tableadapter connection string at runtime
hello, in my c# project i have DataSet abs_ds inside a DataSet i have a TableAdapter ta1 ta get a data from a stored procedure in an sql server 2014 database, as you know when create a TableAdapter we muts create a connection for it, Know i want to change this connection to another connection programically i want to set a connection to it at runTime. is there any way to do that?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Tapan PatelRank #614 · 3.9K reputationPosted Sep 22, 2016, 11:50 AM EDT