Click here to Skip to main content
11,414,234 members (70,645 online)
Rate this: bad
good
Please Sign up or sign in to vote.
Hello,

i have code like this :
tabControlEx1.TabPages[k].Controls.Add(dgSMS);
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.

Thanks,
Viprat
Posted 20-Aug-12 3:44am
VIPR@T2.8K
Edited 20-Aug-12 4:07am
v3
Comments
Kenneth Haugland at 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 at 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
good
Please Sign up or sign in to vote.

Solution 1

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

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 9,130
1 OriginalGriff 7,477
2 Maciej Los 3,710
3 Abhinav S 3,298
4 Peter Leow 3,084


Advertise | Privacy | Mobile
Web01 | 2.8.150427.2 | Last Updated 20 Aug 2012
Copyright © CodeProject, 1999-2015
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