How i can re-use typed dataset for different project,
pls explain,
backer Wednesday, March 12, 2008 5:14 PM
Implement your typed dataset in class library project. As it will be compiled into a dll file, you will be able to add reference to that dll file from any program you need.
Giorgi Dalakishvili Wednesday, March 12, 2008 8:02 PM
Implement your typed dataset in class library project. As it will be compiled into a dll file, you will be able to add reference to that dll file from any program you need.
Giorgi Dalakishvili Wednesday, March 12, 2008 8:02 PM
thanks for ur replay, itsok, but when use the dataset.dll how i can change the connection string of tableadapters, because tableadapters connection is private then we cannot change this property value.
pls explain how to use
backer Thursday, March 13, 2008 5:00 AM
Use configuration file to store connection string for the tableadapters. Change tableadapters so that they read connection string from the config file. In this case you won't have to recompile your assembly every time you change connection string, you can just change it in config file.
Giorgi Dalakishvili Thursday, March 13, 2008 7:37 AM