文件名称:vb adodc sql server
文件大小:303B
文件格式:TXT
更新时间:2017-06-24 11:08:14
adodc控件
Private Sub Form_Load() Adodc1.ConnectionString = "Driver={SQL Server};DataBase=test;Server=(local);UID=sa;PWD=123" Adodc1.RecordSource = "select * from ask_info" Adodc1.Refresh Set DataGrid1.DataSource = Adodc1 End Sub