By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,086 Members | 1,452 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,086 IT Pros & Developers. It's quick & easy.

Grid View and recordSet

P: n/a
Ed
hi everyone, maybe someone can give me a hand here.

I am working with vb 2005 and i have a gridview that i am loading data from a recordset. I have the recordset returned from the query and i am loading the data, but the problem is... this recordset is going to hold about 25,000+ records and the grid view and form "goes to sleep" and i can click on anything. I would like the user to be able to scroll the grid view and maybe min and max the form while the data is being loaded. i have tried grid.refresh() and me.refresh() but it jsut refreshed the data, it does not let the user scroll the grid view

any ideas?
Thanks!!!!
May 3 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
VJ
You will ahve to use Threads...and do the DataSet reading, in a Thread other
than UI thread, once the ds is available, you can set it to the grid... The
other option is to set grid rows from thread.. Read the below article it is
very helpful.., but it is 2003 and 1.1. I belivie in 2005 there is much
better option of using, but the below articles are a good start, so when you
see 2005 methods you will understand..

http://msdn.microsoft.com/msdnmag/is...T/default.aspx

http://www.devx.com/dotnet/Article/11358/1954?pf=true

http://msdn.microsoft.com/msdnmag/is...g/default.aspx

VJ

<Ed> wrote in message news:O9**************@TK2MSFTNGP05.phx.gbl...
hi everyone, maybe someone can give me a hand here.

I am working with vb 2005 and i have a gridview that i am loading data
from a recordset. I have the recordset returned from the query and i am
loading the data, but the problem is... this recordset is going to hold
about 25,000+ records and the grid view and form "goes to sleep" and i can
click on anything. I would like the user to be able to scroll the grid
view and maybe min and max the form while the data is being loaded. i have
tried grid.refresh() and me.refresh() but it jsut refreshed the data, it
does not let the user scroll the grid view

any ideas?
Thanks!!!!

May 3 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.