select * from <表名> where name like '%' + @Name +'%'
其中@Name 的值可以来自于textbox控件
如果有多个条件,可以是使用OR AND等逻辑运算符.
转载于:https://blog.51cto.com/mengping/1397917
select * from <表名> where name like '%' + @Name +'%'
其中@Name 的值可以来自于textbox控件
如果有多个条件,可以是使用OR AND等逻辑运算符.
转载于:https://blog.51cto.com/mengping/1397917