|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Creating Database Connection at runtime and writing Connection String to App.Config..Hi Everyone,
I need some help Creating Database Connection at runtime and writing Connection String to App.Config, I have 3mxtboxes on a form txtUsername = SQL admin User txtPassword = Sql admin password txtServername = Sql Server name I want to be able to write the input supplied by users to the App.config file.. Please is there a way to do this... Thanks ROO The only way to write to the App.Config file is to do it yourself. There is
no function to do it for you like there is reading from the file. You can make your own xml config file if you like. Chris Show quoteHide quote "ROO" <rop***@hotmail.com> wrote in message news:u9QZYA4PFHA.1176@TK2MSFTNGP12.phx.gbl... > Hi Everyone, > I need some help Creating Database Connection at > runtime and writing Connection String to App.Config, I have 3mxtboxes on a > form > txtUsername = SQL admin User > txtPassword = Sql admin password > txtServername = Sql Server name > I want to be able to write the input supplied by users to the App.config > file.. > > Please is there a way to do this... > > Thanks > ROO > >
ASCII lookup table
Datagrid resizing rows on sort - not wanted VB.NET Equiv of... AxWebBrowser1 and code behind redirecting Datagrid - shown vertically instead of horizontally? Easy one about web forms Assigning a Null to Datetime Variable or Object Registering my program as default for my file extension Inherited Treeview control with dynamic context menu. form location |
|||||||||||||||||||||||