与VB的接口

我用VB做一个管理系统,如何连接sql 数据库!!服务器windows 2000 server系统

最好详细点!:) [email protected]
---------------------------------------------------------------

然后拉个ADODC控件上去
再用
connstr = "Provider=MSDASQL.1;Persist Security Info=False;User ID=用户;Data Source=数据源"
Adodc1.ConnectionString = connstr
Adodc1.RecordSource = "account"
Adodc1.Refresh
Adodc1.Enabled = True
类似的语句。

Published At
Categories with 数据库类
comments powered by Disqus