I am using the following code to update a database from a datagridview but I need to be able to use a different connection string but with the same code, how would I do this ? see code below
this.Validate(); this.jobTasksBindingSource.EndEdit(); this.jobTasksTableAdapter.Update(this.winjobsDataSet3.JobTasks);
So basically I just need to be able to perform the update with the same source and dataset but tell it to use a different sql connection