111,125
社区成员
发帖
与我相关
我的任务
分享string SQL = "select * from table_a where id = "+ intID +" and name = '" + strName + "'";
string str="abcdef";
string sqlstr="select * from 表名 where 字段名='"+str+"'";
和二楼的类似select * from testtable [id]="+ this.txtEname.Text.Trim()select * from testtable [name]='" + this.txtEname.Text.Trim() + "'"