Best way to set strongly typed dataset connection string at runtime?

后端 未结 7 1753
孤街浪徒
孤街浪徒 2021-02-20 01:19

My Windows Forms application uses a strongly typed dataset created using the designer in Visual Studio. At runtime I would like to be able to select either the live or test data

7条回答
  •  悲&欢浪女
    2021-02-20 02:04

    Using the TableAdapterManager might work for you. Please read more at: http://rajmsdn.wordpress.com/2009/12/09/strongly-typed-dataset-connection-string/

提交回复
热议问题