社区
VB基础类
帖子详情
what the distinguish between dim rst as new adodb.recordset and dim rst as new recordset?thank you!
xfchenxh
2002-05-27 10:23:10
?
...全文
31
1
打赏
收藏
what the distinguish between dim rst as new adodb.recordset and dim rst as new recordset?thank you!
?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
1 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
liboyang_bj
2002-05-27
打赏
举报
回复
"dim rst as new adodb.recordset"
you just use a recordset with ado specially
for example:
///////////////////////////////////////////////////
dim cnn as new adodb.connection
dim rst as new adodb.recordset
dim sqlStr as string
cnn.ConnectionString = "DSN=tax_db;UID=dba;PWD=sql"
cnn.Open
strSQL = "select * from userInfo where name='" & Combo1.Text & "' and pwd ='" & txtPassword.Text & "'"
rst.Open strSQL, cnn, adOpenKeyset, adLockOptimistic
If rst.RecordCount=1 then
该用户存在
Else
该用户不存在或口令错误
End If
///////////////////////////////////////////////////
As to "dim rst as new recordset"
you could use the rst more commonly this time
对了,下次咱说汉语,行么?
The Difference Between Internet, Intranet, and Extranet
INTRANET ADVISOR Steven L. TelleenThe Difference Between Internet, Intranet, and Extranet Q: How does one
dis
ting
uish
between an intranet and an extranet? When I access
6 Major Differences between English and Chinese
There are some basic major differences between English and Chinese... It is important to be aware of the major differences between the two languages in order to reduce your mistakes in Chinese and also t
深度学习和机器学习之间的区别
Here you will learn about difference between deep learning and machine learning. 在这里,您将了解深度学习和机器学习之间的区别。 We already are aware of the term and in brief that Deep Learning is ...
C# and Asp.Net Questions 面试题
C# and Asp.Net Questions Introduction My this article provides a collection of numerous .Net, C#,
ADO
.NET, Web Services, .Net Framework questions and answers for which a reader has to look aro
Design: What is the basic difference between precast and prefabricated structures?
https://www.quora.com/Design/What-is-the-basic-difference-between-precast-and-prefabricated-structures Let me start your answer by giving you the basic definitions of the two terms. Precast is
VB基础类
7,763
社区成员
197,609
社区内容
发帖
与我相关
我的任务
VB基础类
VB 基础类
复制链接
扫一扫
分享
社区描述
VB 基础类
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章