在管理工具的数据源配置好了数据库,但一运行,这句就报错:

“Public Function ExecuteSQL(ByVal SQL As String) As ADODB.Recordset”
---------------------------
Microsoft Visual Basic
---------------------------
Compile error:User-defined type not defined无法识别ADODB.Recordset?重新配置了很多次,还是这样,不知道怎么回事,请各位帮助