Session("B")=3
sqlcommand.commandtext="select * from tabel1 where A>+session("B")+"
或Session("B")=3
sqlcommand.commandtext="select * from tabel1 where A>"+session("B")+""
其中A列为int类型
但编译器报错(有语法错误),将+改为&亦一样,麻烦告知应如何实现?
...全文
857打赏收藏
以下语句如何实现?
Session("B")=3 sqlcommand.commandtext="select * from tabel1 where A>+session("B")+" 或Session("B")=3 sqlcommand.commandtext="select * from tabel1 where A>"+session("B")+"" 其中A列为int类型 但编译器报错(有语法错误),将+改为&亦一样,麻烦告知应如何实现?