CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Lots of data

  1. #1
    Join Date
    Apr 1999
    Posts
    2

    Lots of data

    Opening a dialog that displays scrollable data (from a database) should be
    fast
    regardless of the amount of data in the DB.

    Looking for pointers to techniques of
    1. opening the dialog first, retrieving and displaying the data later
    2. retrieving only the top data, retrieving more as needed while user
    scrolls

    Thanks




  2. #2
    Join Date
    Apr 1999
    Posts
    43

    Re: Lots of data

    If you are using a List Box to display the data, simply create the listbox and add data using AddString or InsertString. You can obtain the users current selection using GetCurSel() and read in a few data items after that.

    Good luck!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured