473,480 Members | 1,964 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Grid View and recordSet

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
1 2552
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4937
by: Bhom | last post by:
I am trying to create a grid on a form that looks like the 'Split Transaction' grid in Quicken - it allows drop down controls in various cells of grid to make a selection, and then stores the text...
0
1950
by: Mike | last post by:
I'm having a problem with the grid not getting refreshed after deleting a record. Even though the record is deleted from the table. I have the following code in a Delete button event: sql =...
4
11248
by: sci | last post by:
Could someone help me by answering the questions below? What's a cursor? What's difference between Query and View? Is a RecordSet just part of a table? Can it be part of a query of view? If...
12
2362
by: pmud | last post by:
Hi, I am using teh following code for sorting the data grid but it doesnt work. I have set the auto generate columns to false. & set the sort expression for each field as the anme of that...
12
2612
by: Neil | last post by:
I previously posted re. this, but thought I'd try again with a summary of facts. I have an Access 2000 MDB with a SQL Server 7 back end. There is a view that is linked to the database via ODBC...
3
1879
by: SAM | last post by:
Hey guys, Long time Access programmer, but never had to bother with these things until now. First, I use ADO all the time in VB, but now I need to use it in Access 2K. I never remember/know...
0
2052
by: ¿ Mahesh Kumar | last post by:
I have created a XML file as datasource which i 'm binding to a grid view control. During runtime I'm capturing items in XML file and displaying in a GRID VIEW control. but i want to remove or...
2
3835
by: Umeshnath | last post by:
Hi, I have placed a grid view inside Atlas panel. On click of a button event, data is populated in the grid view, I want to add scroll bar instead of increasing the size of grid view. I have...
0
1575
by: zafar | last post by:
I don't know what property should be used for hiding colums in Data Grid, whereas in Data Grid View we have DataGridView1.Colums(index).Visible = False , But how can I hide Colums in Data Grid.....
0
7049
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6912
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7092
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6744
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
4790
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4488
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2989
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1304
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
565
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.