System.Data.SqlClient.SqlException: '' 附近有语法错误。
stringolb=Request.QueryString["lb"];stringoid=Request.QueryString["id"];StringxwstrSQ...
string olb = Request.QueryString["lb"];
string oid = Request.QueryString["id"];
String xwstrSQL = "select * from '"+olb+"'where id = '"+oid+"'";
DataTable dt = DbManager.ExecuteQuery(xwstrSQL); 展开
string oid = Request.QueryString["id"];
String xwstrSQL = "select * from '"+olb+"'where id = '"+oid+"'";
DataTable dt = DbManager.ExecuteQuery(xwstrSQL); 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询