For fast exicution for project

Posted on 2003-03-14
Medium Priority
Last Modified: 2010-04-17
i am using VB 6.0 as front end &
SQL Server 7.0 as back end

i am filling by grid with help of a recordset
but it is taking time to fill the grid, as i am
having as much as 6000 records.

to make it fast what should I Do
Question by:AbhijitCPatil
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 8134939
do you really need to load that much data in your datagrid?

why not batch them by 1000's. what i mean is load only the first 1000 then if the user reaches the last record load the next 1000.
LVL 30

Accepted Solution

Mayank S earned 360 total points
ID: 8135144
Try using a ListView for displaying the data. Make the Data object invisible and use it only to retrieve the data, not to show it, and then just add the data to the listview control - it adds items faster.

Best of luck.


Expert Comment

ID: 9447152
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.
LVL 30

Expert Comment

by:Mayank S
ID: 9472018
Recommendation: Accept mayankeagle's comment as answer.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Simple Linear Regression
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question