dim conn as new ADODB.Connection dim rs as new ADODB.RecordSet 错误:类型未定义
解决方式如下:
在菜单project--refrences里,选中microsoft activex data object 2.5library!