How to change the connection string of a TableAdapter

  • Thread starter Thread starter ad
  • Start date Start date
A

ad

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?
 
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
 
Back
Top