VB开发数据库应用程序示例
建立连接示例:Set adoCon = New ADODB.Connection
,adoCon.ConnectionString = “DSN=vbtest; UserID=sa; ”
,adoCon.open
。执行命令示例:Set adoCom = New ADODB.Command
,adoCom.ActiveConnection = adoCon
,adoCom.CommandText = “select * from products”
,Set adoRst = adoCom.Execute
。
462.5KB
文件大小:
评论区