Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vb.net/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
VB.NET无法将EOF和BOF与ADODB记录集一起使用_Vb.net - Fatal编程技术网

VB.NET无法将EOF和BOF与ADODB记录集一起使用

VB.NET无法将EOF和BOF与ADODB记录集一起使用,vb.net,Vb.net,在VB.net中,EOF和BOD不使用ADODB记录集,甚至我添加了正确的引用 DIM rsReqs as New ADODB.recordset DIM cn as ADODB.connection after open connection, with SQL Query I tryed to do this rsReqs.open(StrSQL,cn) 直到rsreqs.EOF .... 感谢您的帮助如果您无法在vb.net上使用这些库,请根据您的数据库服务器查找这些库。通过谷歌查找有

在VB.net中,EOF和BOD不使用ADODB记录集,甚至我添加了正确的引用

DIM rsReqs as New ADODB.recordset
DIM cn as ADODB.connection
after open connection, with SQL Query I tryed to do this
rsReqs.open(StrSQL,cn)
直到rsreqs.EOF ....


感谢您的帮助

如果您无法在vb.net上使用这些库,请根据您的数据库服务器查找这些库。通过谷歌查找有关如何将mysql或access等数据库与vb.net连接的更多信息。

使用实体框架,而不是使用实体框架。什么是不工作?请明确描述您遇到的问题。如果您使用的是VB.Net而不是VB6或更旧版本,或者VBA,那么您究竟为什么要使用更旧的ADO COM库,而不是ADO.Net,后者是.Net framework的标准部分?您可以使用它们,但不应该使用它们。它们是COM库,在任何方面都不是特别的,COM互操作从一开始就内置在.NET中。