日期:2014-05-19  浏览次数:20516 次

请问这条SQL语名中,=号后面我想加一个变量,怎么加?
db.SQL   =   "select   nUserID   from   TblUser   where   vUsername=
谢谢大家

------解决方案--------------------
db.SQL = "select nUserID from TblUser where vUsername = ' " + str + " ' ";