aqpwd.SQL.Text:='select*from sm where userid='''+edit1.text+''''+'and passwd ='''+edit2.Text+'''';
为一段登陆验证语句。为什么edit.text的前面和后面有怎么多‘’‘啊??
还有这个,tempstr:=Trim(self.Edit1.Text);
tempstr:='%'+tempstr+'%';
str:='select * from 表 ';
str:=str+'where 表.'+self.ComboBox1.Text+ ' like '+''''+tempstr+'''';
能帮我解释下吗
为一段登陆验证语句。为什么edit.text的前面和后面有怎么多‘’‘啊??
还有这个,tempstr:=Trim(self.Edit1.Text);
tempstr:='%'+tempstr+'%';
str:='select * from 表 ';
str:=str+'where 表.'+self.ComboBox1.Text+ ' like '+''''+tempstr+'''';
能帮我解释下吗
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货