Click here to Skip to main content
15,892,643 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

i have code like this :
C#
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
Updated 20-Aug-12 3:07am
v3
Comments
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?
VIPR@T 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

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

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900