honar abubakr

honar abubakr

  • NA
  • 73
  • 110.3k

change tableadapter connection string at runtime

Sep 22 2016 2:29 PM
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?

Answers (1)