Connection to DB

missshhhh

Member
Joined
Nov 26, 2006
Messages
13
Programming Experience
3-5
Hi, I have a Dataset with many TableAdapters. Each TableAdapter has a property connection. The problem occurs when I will transfer my project to another computer and I cannot edit the TableAdapters because its connection is linked to the connection string of my other computer. Is there a way (code) to loop all TableAdapters so that I can change the connection property?
 
Look at the "ConnectionString" entry in the Settings area of the project properties.Note that if youre having these p[roblems, you should sort out your conenction string properly by removing all machine-specific references because these errors SHOULDNT occur.. It should not require developer intervention to get the database working every time an app is installed on a new machine
 
Back
Top