Click here to Skip to main content
13,141,576 members (54,449 online)
Rate this:
Please Sign up or sign in to vote.

i have code like this :
Where tabControlEx1 = Tabview
TabPages[k] = Tabview`s tab page
dgSMS = DataGridView.

Now i am just adding the DataGridview control into tabpage over here.
my data datagridview is already bind at page load. so i have datagridview with all my required data.
i am just adding datagridview into my tabpage on button click.
The problem is that, its taking much time to display data if datagridview is contaning more that 400 rows.
So is that any solution to display data faster?

I don`t want to use pagging.

Posted 20-Aug-12 2:44am
Updated 20-Aug-12 3:07am
Kenneth Haugland 20-Aug-12 8:48am
Load it in the WinForm in the designer, and not in code behind? If its possible. Where are you pulling the data from anyway file, database or?
viprat shah 20-Aug-12 8:51am
its not possible from designer. b`coz i am binding data after decoding some file. so adding that data into data table and giving it as DataSource.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Loading 400 rows is a bit retarded. That's what paging is for.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.170915.1 | Last Updated 20 Aug 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100