使用ADO连接数据库是提示如下错误,“Could not convert variant of type (Null) into type (String).”,请问该如何解决?
使用ADO组件,有如下问题,向诸位请教:
1、使用了ADOConnection,ADOTable以及DataSource和DBGrid
2、数据库采用access
3、进行ADOConnection测试成功。设计环境中使ADOTable->Active为true,,连接到数据库。
4、运行时出现如下错误:“Could not convert variant tyoe(null) into type(string)”。
5、代码没写。