Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > General Computer Discussion > Software > Loading 24,000 rows into C# .net Datagrid

Thread Tools

Loading 24,000 rows into C# .net Datagrid

Kagu Kagu is offline
Junior Member
Join Date: Feb 2009
Posts: 2
I need HELP to figure out exactly WHERE and why loading large sets of data (24,000 rows) into a C# 3.5 .NET datagrid is occurring, and possible resolutions, links to similar issues or other areas to investigate.

When the datagrid is loaded, we get random resultsÖ.it rarely loads correctly (and loads differently in testing vs. production environment). When it does load, the datagrid displays some rows, but ends in random HTML tags. Other times it refreshes the page to its initial on_load state.

In the hidden input _EVENTVALIDATION tag, it looks as though there is almost 9MB in viewstate (copying it results in a 8.8 MB file).
When I set SmartvNavigation = False, there is more of a chance the datagrid loads correctly, but then I lose all of SmartNavís functionality. Iíve tried instead using MaintainScrollPositionOnPostBack=True, but received the same random display errors seen when having SmartNavigation=True.

Wondering if changing settings (maxRequestLength, executionTimeout or AppRequestQueueLimit) in the web.config file would have a favorable effect.

Any suggestions or resolution to loading large sets of data into a datagrid is EXTREMELY helpful!!!
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rows the rows of a grid view? Jason James ASP .Net 0 08-10-2006 09:24 PM
dynamically add new rows and save data typed in these rows to a database Arjen Hoekstra ASP .Net 0 08-02-2005 12:15 PM
convert rows to columns and columns to rows helpful sql ASP .Net 0 05-19-2005 06:03 PM
Howto insert delete rows into a datagrid? Jimmy ASP .Net Datagrid Control 1 04-21-2005 04:58 AM
script for moving rows up and down and traverse thru rows of HTML table Subba Rao via ASP .Net 0 03-19-2005 06:46 AM