Set OBJ_Public = New Cpublic
Set conn = OBJ_Public.GetConnection
Adodc1.CommandType = adCmdText
Adodc1.ConnectionString = OBJ_Public.MakeConnstr()
Adodc1.RecordSource = "select DeptName from Dept"
Adodc1.Refresh
Set DataGrid1.DataSource = Adodc1
Set conn = OBJ_Public.GetConnection
Adodc1.CommandType = adCmdText
Adodc1.ConnectionString = OBJ_Public.MakeConnstr()
Adodc1.RecordSource = "select DeptName from Dept"
Adodc1.Refresh
Set DataGrid1.DataSource = Adodc1
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货