Hi latoc, My suggestion is just like part of what you have done. You can store the password in the config file. Not in the connectionstring. Add another node to the config xml, for example, named password. When you load your application, check that node value, if it is empty, popup a dialog let your user to input password. Then store it in that node's value field. Build your real connection string in the code put the password into that string. Sincerely, Kira Qian Please mark the replies as answers if they help and unmark if they don't.- Marked As Answer bylatoc Monday, August 03, 2009 4:58 PM
-
|