求教sql语句问题
tdzhz 2004-08-03 12:41:11 以下语句错在哪里?
String dropdw=Request.Params["val"];
String textb=Request.Params["vall"];
SqlDataAdapter myCommand3 = new SqlDataAdapter(" select * from 表1 where a='" + dropdw + "' and b like '%'"+ textb + "'%'", myConnection);