方法一:
string myconn = system.configuration.configurationmanager.connectionstrings["sqlconnectionstring"].connectionstring;
方法二:
string connstring = system.web.configuration.webconfigurationmanager.connectionstrings["sqlconnectionstring"].tostring();
新闻热点
疑难解答
图片精选