PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft ADO .NET
How to change the connection string of a TableAdapter
Forums
Newsgroups
Microsoft DotNet
Microsoft ADO .NET
How to change the connection string of a TableAdapter
![]() |
How to change the connection string of a TableAdapter |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I am useing the the TableAdapter of VS2005.
I copy a DataTable form one project to another project. The connection strings in the two projects is different. I want to change the connection of the TableAdapter to the one of the new project. Where can I change it? |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Ad,
In its name and than .connection, you can get it as well from there. Dim conn As SqlClient.SqlConnection = Me.OrdersTableAdapter.Connection I hope this helps, Cor "ad" <flying@wfes.tcc.edu.tw> schreef in bericht news:e2tbFRjlGHA.1552@TK2MSFTNGP04.phx.gbl... >I am useing the the TableAdapter of VS2005. > I copy a DataTable form one project to another project. > The connection strings in the two projects is different. > I want to change the connection of the TableAdapter to the one of the new > project. Where can I change it? > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
right click on the table adapter in your dataset, then properties/connection
-- Best regards Mark "ad" <flying@wfes.tcc.edu.tw> wrote in message news:e2tbFRjlGHA.1552@TK2MSFTNGP04.phx.gbl... >I am useing the the TableAdapter of VS2005. > I copy a DataTable form one project to another project. > The connection strings in the two projects is different. > I want to change the connection of the TableAdapter to the one of the new > project. Where can I change it? > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

