问题描述
在我的研究中,发现了 Recordsets 对象中 DataTable 对象的转换方法,发现的所有代码均显示可伸缩性较差,提起崩溃应用程序(通常是内存不足).
因此,我想对包装器一个 DataTable 对象进行实验,并显示一个 Recordset 接口(_recorset).
我需要在vb6网格(旧应用程序)中使用.NET中的现有组件.通过转换"Recordset"对象中的"DataTable"对象,系统从大约3000条记录中缺少内存. VB6应用程序很旧,我想使用.NET组件而不更改此应用程序的结构,该应用程序有数百个客户端在使用.由于记录集中"DataTable"的转换不能提供可伸缩性,因此我想创建一个封装"DataTable"对象的类,并通过接口提供一个对象"recordset".
in my researchs to find out methods for transformation the DataTable objects in Recordsets objects, all code found presents poor scalability, provocating crash application(out of memory, commonly).
so, I want experiment wrapper a DataTable object and show a Recordset interface (_recorset).
I need to use existing components, made in. NET, in vb6 grids (old application). By transforming the "DataTable" object in the "Recordset" object, from about 3000 records the system lacks memory. The VB6 application is old, I want to use components .NET without changing the structure of this application, which has hundreds of clients using. As the transformation of "DataTable" in recordset not offer scalability, I''m wanting to create a class that encapsulates a "DataTable" object, and through interface, offers an object "recordset".
推荐答案
这篇关于包装DataTable对象,显示Recordset接口(_recordset)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!