各位前辈!你们好!
我用vb6操纵access2003,为此专门写了一个类模块来负责数据库操作,然后在窗体中拉了一个DataGrid控件,现在我想用类模块里的其中一个查询函数来更新DataGrid控件的数据显示,该函数返回一个recordset结果集。
函数执行后成功返回非空结果集(调用recordset.counts进行验证),并将结果集赋予datagrid的dataresource属性,最后执行refresh,但dataGrid并没有显示查询结果,请教导致此问题的原因?
你好,
这个论坛主要讨论VB.NET相关的,对于VB6可以去这个第三方论坛:http://www.vbforums.com/forumdisplay.php?forumid=1。
感谢理解与支持。
Best regards,
Shanks Zen MSDN Community Support | Feedback to us Develop and promote your apps in Windows Store Please remember to mark the replies as answers if they help and unmark them if they provide no help.