vb sql语句连接问题
若: 有SQL 语句 select * from admin where id='"& text1.text &"' and tel='"& text2.text &"' and no='"& text3.text &"'
怎么把这语句给拆分了。 写成 select * from admin where id='"& text1.text &"' 一句 and tel='"& text2.text &"' 一句 and no='"& text3.text &"'
一句的形式。用连字符连接的····
strsql="select * from admin where id='"& text1.text &"' and tel='"& text2.text &"' and no='"& text3.text &"'"
***********************************
strsql= ="select * from admin where id='"& text1.text &"'"
strsql=strsql & " and tel='"& text2.text &"' "
strsql=strsql & " and no='"& text3.text &"' "
或者
strsql="select * from admin where id='"& text1.text &"'" & _
" and tel='"& text2.text &"' " & _
" and no='"& text3.text &"'"
不知楼主是不是这个意思
select * from adm
相关问答:
表如下
教室ID 座位数 开始时间 结束时间 2009年1月1日 2009年1月2日 2009年1月3日
101 50 08:00 08:30 30 40 50
101 50 09:00 ......
原数据
商品 原价 打折方式1 折扣1 打折方式2 折扣2
笔记本 10000 NULL 0 NULL&nb ......
想在warcraft3里进行写屏操作【如对战平台中的胜负提示信息】,效果就像游戏平台中一样,我试过在一窗口中写入文字,然后一直让窗口强制最前,虽然能实现文字显示,但是文字会不断闪烁,而且有不确定BUG,通过论坛搜 ......
VB偶学得不错,现在大一,高三的时候就学VB了,现在学校里都是学C#和VB.NET的兄弟多。。。
偶要转行VB.NET了~当年学VB学了2年,对VB里面的常用函数都十分了解。
Select、If结构、For Next循环、等都了解。。。 ......
用VB怎么只针对windows自带的文件的右键添加菜单 如(.txt .doc)
这个是只针对以这两个为扩展名的文件操作
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\txtfile\shell\[随便起名]\command]
@= ......