Hi all,
I have the follwinig connection string which works fine except I now need to write the app so that the server/instance and Db. name is taken as a variable from a textbox on my form. The textboxes are populated from settings read from the registry. But try as i might I cannot find out how to do it so any pointers greatfully received - clearly from a numpty!
connetionString = "Server=Server\Instance;Database=DbName;Trusted_Connection=True;"
I have the follwinig connection string which works fine except I now need to write the app so that the server/instance and Db. name is taken as a variable from a textbox on my form. The textboxes are populated from settings read from the registry. But try as i might I cannot find out how to do it so any pointers greatfully received - clearly from a numpty!
connetionString = "Server=Server\Instance;Database=DbName;Trusted_Connection=True;"