- XML code
<dataConfiguration defaultDatabase="AsrSqlServer"/> <connectionStrings> <add name="AsrSqlServer" connectionString="server=.;uid=sa;pwd=asdfdsfasdfsdfaf; Trusted_Connection=no;database=cct20110720" providerName="System.Data.SqlClient"/> <add name="AsrSqlServer2" connectionString="server=.;uid=sa;pwd=asdfdsfasdfsdfaf; Trusted_Connection=no;database=supermarket" providerName="System.Data.SqlClient"/> </connectionStrings>
这个Membership配置完后,使用第一个链接,如何执行完在临时使用第二个链接执行?Membership.CreateUser()没法重载,重新创建链接也传不过去啊
------解决方案--------------------------------------------------------
如需要阅读该回复,请登录或注册CSDN!