Click here to Skip to main content
15,898,222 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friends,

I have a gridview control which binds data from a dataset and the event of the gridview grid_datarowboundEvent binds its for every record in dataset.

I am facing a problem in displaying the data from grid_datarowboundevent.

Please help me so I can make the datarowbound event faster.

Thank you.
Posted
Updated 6-Jun-11 0:29am
v2
Comments
Sandeep Mewara 6-Jun-11 11:06am    
What issue?

this link may be help to you....

http://stackoverflow.com/questions/4097233/eval-and-itemdatabound-or-rowdatabound-event-to-display-data-which-one-is-better
 
Share this answer
 
Insufficient information though I'll guess that you're trying to load a large number of rows. Try to load only what a user needs to see immediately and give them a mechanism which allows them to get more data if required.
 
Share this answer
 
Comments
miligupta123 6-Jun-11 6:40am    
i apprciate your solution but my client want to see all records at a glance.
but my gridrowdatabound event failed to load data.so please provide me exact solution.
R. Giskard Reventlov 6-Jun-11 6:49am    
What they want to see and what they can see are 2 different things. If you have to load 100,000 rows then it is ridiculous for them to want to see all of those. Part of your job is to explain that to the client and offer an alternate solution that does the job better. So, you load no more than they can reasonably see and give them the option to draw more data if really required.
BobJanova 6-Jun-11 6:55am    
Quite. You can give the illusion of having loaded everything by using a virtual grid in the browser which makes AJAX callbacks when the user scrolls it out of the currently loaded range; I don't know if the ASPX data grid supports that natively, but it is definitely possible (I did some work on a virtual grid for a previous client).

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