DropDownList绑定中午(列名无效)
SQL语句这样写的时候
strSql = "select * from T_Compertitor where SchoolName="+strSchoolName;
报列名无效!
这样写的时候
strSql = "select * from T_Compertitor where SchoolName='"+strSchoolName+"'";
问题解决……
求详解
SQL语句这样写的时候
strSql = "select * from T_Compertitor where SchoolName="+strSchoolName;
报列名无效!
这样写的时候
strSql = "select * from T_Compertitor where SchoolName='"+strSchoolName+"'";
问题解决……
求详解