I work at a help desk and I have made a utility that allows some of the lvl 1 tech sto do some basic sql to fix basic issues without knowing sql. The problem is I can't have the user and pw hardcoded I need to allow the techs to input the correct user and pw. mainly because the user and pw are different depending on what customer they are helping. i have tried to update the connection string with user inputed info but ti tells me that the value is readonly even tho it has a set method
It tells me that the configuration is read only and throws an exception. is there a better way of doing this or how can i get past this error message.
VB.NET:
system.configuration.configurationmanager.connectionstrings("data").connectionstring = new connection string
It tells me that the configuration is read only and throws an exception. is there a better way of doing this or how can i get past this error message.