|
-
Jan 26th, 2009, 04:24 PM
#1
[2005] DataGridView Scrolling Optimization
Hi,
I have a DataGridView where I bind a datasource (sql query) to it. The row count is high with many columns. Trying to scroll through this DGV is painfully slow.
Does anyone know of any kinds of optimization I can do so that I can scroll faster? Like what is the DataGrid doing when you scroll? Does it repaint every screenful? Does it validate every row? It seems like it is doing something unneeded when a user scrolls.
-
Jan 26th, 2009, 06:33 PM
#2
Re: [2005] DataGridView Scrolling Optimization
While I've never used it, you might want to start by reading the documentation for the DataGridView.VirtualMode property.
-
Jan 27th, 2009, 02:05 AM
#3
Addicted Member
Re: [2005] DataGridView Scrolling Optimization
sir what is the best alternative for datagridview? basing from the situation of ForumAccount?
-
Jan 27th, 2009, 02:15 AM
#4
Re: [2005] DataGridView Scrolling Optimization
 Originally Posted by j0shua
sir what is the best alternative for datagridview? basing from the situation of ForumAccount?
I have no idea what you're trying to ask and I'll wager that it's unrelated to this topic. I'd suggest that you try to explain what you want more clearly and, if it doesn;t relate specifically to this topic, post it in a new thread. Just because you are asking about a DataGridView doesn't make it relevant to this topic.
-
Jan 27th, 2009, 02:28 AM
#5
Addicted Member
Re: [2005] DataGridView Scrolling Optimization
im sorry, i overlook what the thread starter posted, maybe i will just start a new thread. thank you!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|