决定人生~
private static string strCon="server=" + SqlServer.Sqlserver + ";"
+"database=" + SqlServer.Database+";"
+"user id=" + SqlServer.UsrName +";"
+"password=" + SqlServer.PassWord +";";
改成private static string strCon="server="" + SqlServer.Sqlserver + "";"
+"database="" + SqlServer.Database+"";"
+"user id="" + SqlServer.UsrName +"";"
+"password="" + SqlServer.PassWord +"";";看下!应该是这样吧?
老大 你改后的字符串应该是非法的吧