猿问

怎么将TextBox输入的信息放到sql语句中

string sql = "select * from fruit ";

我想进行模糊查询,,,select * from fruit where name like '%TextBox输入的信息%'

慕运维8079593
浏览 403回答 3
3回答

30秒到达战场

楼上dudu正解。

慕田峪4524236

dudu都来了 
随时随地看视频慕课网APP
我要回答