Well? I have been self schooling, writing in C# and accessing SQL Server. so far all the access is to the local database on my development computer. I am ready to deploy the software in the intended environment and realized that most of my datasets will only access the SQL Server on my development computer because the connection string had been embedded into the table adaptor. this happened when I did the drag and drop of a data source.
I have found how to change the connection string on each dataset individually but this doesn't fix the problem. I am thinking that I will have to go back and rewrite the loading of the datasets in code to be executed at run time and rebind all the controls.
is there an easier remedy to my problem? I have already written code to check if the connection string is valid which doesn't do me any good with the connection strings embedded in the dataset. here is an example of the dataset / table adaptor creation. during the drag and drop from data source this line is created. as is the dataset that you can see in the solution explorer.
this.part_Number_ManagerTableAdapter.Fill(this.part_Number_Manager_DataSet.Part_Number_Manager); this.customerTableAdapter.Fill(this.customer_Info_DataSet.Customer); this.customer_ShipTableAdapter.Fill(this.customer_Info_DataSet.Customer_Ship);
thanks in advance for the help
dave