VB中如何在sql模糊查询中根据文本框中某一个字就可检索到与该字相关的信息,希望给个例子。谢谢!

2024-12-27 19:19:47
推荐回答(1个)
回答1:

dim a as string a =text1.text sql=“select [字段] from [table]where [字段] like &“ a ” &”