DataGrid

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
I have data grid control which is databinded to the dataset with 500 000
rows. But, that control can't display so many rows at once.
Is there any way to configure data grid control to handle so many rows?

Thanks. Nenad Dobrilovic
 
The datagrid will display as many rows as you give it. However, you may
overflow the input buffer for example. What can a user do with 1/2 million
records? Follow the pattern that most sites have adopted. Use an
alphabetized list at the top selecting on this letter retrieves just the
rows beginning with the letter. That's much much easier on a user that 1/2
records
 
Alvin said:
The datagrid will display as many rows as you give it. However, you may
overflow the input buffer for example. What can a user do with 1/2 million
records? Follow the pattern that most sites have adopted. Use an
alphabetized list at the top selecting on this letter retrieves just the
rows beginning with the letter. That's much much easier on a user that 1/2
records

I made database with 500 000 rows for testing purposes. I expected that
datagrid control was made much cleverer: to store rows which can be
physically displayed in its window, and to retrieve more rows from
dataset when it is needed. But, it just tried to swallow all that rows
at once.
 
I expected that
datagrid control was made much cleverer:

I disagree. It is clever. The datagrid cannot assume to know anything about
the context of the call. 1/2 a million records may be a lot for me, but
small in another business environment. Since the grid cannot make this
assumption, it has to display what it gets. It is the responsibility of the
programmer to refine this context and build logic to handle the data
transfer adequately.
 
Back
Top