高分赠送,有关SQL的写法 你们不要,我要,简单的问题也要有人回答的吗。data1.recordsource="select * from user where 名字=" & text1.text 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 data1.recordsource="select * from user where 名字='" & text1.text &"'"要加单引号。不然会出错 dim a as stringa=text1.textdata1.recordsource="select * from user where 名字='"& a &"'" data1.recordsource="select * from user where 名字='" & text1.text & "'" data1.recordsource="select * from user where 名字='" & trim(text1.text) & "'" 谢谢大家 XIAN686 2002-8-26 data1.recordsource="select * from user where 名字='" & text1.text & "'" VB中 怎么给ListBox控件添加一个左右方向的滚动条??急急! 至少一个参数没有被指定值 过程调用 在线等待,如何控制文本框(textbox)输入值的范围在0-23 如何用visual studio的VB语言做电影院订票的座位选择系统 如何创建含有位图的菜单项 很急 我的datagrid控件为什么不显示数据,附上源码,请各位高手指教 modbus rtu通讯问题 如何清空变量?是指清空变量所占的内容地址? 数据库高手请进! 请问如何在Click事件中判断Ctrl键有没有按下? 怎样在User Control里面画图?
要加单引号。不然会出错
a=text1.text
data1.recordsource="select * from user where 名字='"& a &"'"
" & trim(text1.text) & "'"
XIAN686
2002-8-26