T
Thomas Due
We have a data management application writen in Delphi. This app shows
all tables in the database, and display all data in a given table in a
datagrid. We are using an ODBC connection for this. This functionality
is not unlike what is seen in e.g. Enterprise manager.
Now even with 400K of rows, this datagrid is "filled" is mere seconds.
I am aware that the underlying dataset only retrieves a subset of rows,
and dynamically retrieves and unloads rows as needed, thereby giving an
illusion of retrieving the entire table.
We are now moving to .net and I find myself having a great deal of
difficulty getting the same functionality out of ado.net. The ODBC
components we are using in our Delphi app is connected whereas ado.net
is disconnected.
What I basically need is to retrieve say 100 rows at a time, and
dynamically unload and retrieve new rows and filling them into a
datagrid as the user scrolls back and forth through the datagrid.
How do I achieve this?
Please dont lecture about filtering and whatnot. This is the
functionality we need.
--
Thomas Due
Posted with XanaNews version 1.16.5.2
"If you can't convince them, confuse them."
-- Harry S. Truman
all tables in the database, and display all data in a given table in a
datagrid. We are using an ODBC connection for this. This functionality
is not unlike what is seen in e.g. Enterprise manager.
Now even with 400K of rows, this datagrid is "filled" is mere seconds.
I am aware that the underlying dataset only retrieves a subset of rows,
and dynamically retrieves and unloads rows as needed, thereby giving an
illusion of retrieving the entire table.
We are now moving to .net and I find myself having a great deal of
difficulty getting the same functionality out of ado.net. The ODBC
components we are using in our Delphi app is connected whereas ado.net
is disconnected.
What I basically need is to retrieve say 100 rows at a time, and
dynamically unload and retrieve new rows and filling them into a
datagrid as the user scrolls back and forth through the datagrid.
How do I achieve this?
Please dont lecture about filtering and whatnot. This is the
functionality we need.
--
Thomas Due
Posted with XanaNews version 1.16.5.2
"If you can't convince them, confuse them."
-- Harry S. Truman