"Agnes" <ag***@dynamictech.com.hk> schrieb:
I my login form, I want to let the user choose which database (there are
A,B,C three databases )
I know I can use App.config to change the SQL server (database name).
However, I don't know how to do in my form ??
Typically, an application doesn't write to its config file. You'll find
some articles on this topic here:
Storing and loading user preferences
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=userpreferences&lang=en>
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>