Results 1 to 4 of 4

Thread: [2.0] disconnected data access ???

  1. #1

    Thread Starter
    Member
    Join Date
    May 2007
    Posts
    32

    [2.0] disconnected data access ???

    hi guys,

    i just want to know something regarding the disconnected data access...soo please give me a brief discription... in that..

    and lets say there are millions of records in a table..and do we popluate all the records in to the dataset...?? each time when we need all data in database..or what happends..may be this is stupid..but..i just want to know about this

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2.0] disconnected data access ???

    If you need all the records in your app then yes, you retrieve all the records. If you don't need them all then you don't get them all. If you need to provide access to all records but you don't need to show them all at once then controls like the DataGridView provide a virtual mode, where they appear to contain all the data but each "page" of data is only retrieved if and when it's needed.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Member
    Join Date
    May 2007
    Posts
    32

    Re: [2.0] disconnected data access ???

    hi thanx for your reply..but can u explain little more on virtual mode..like does it works like paging..and when clicking on the next page does it get them from the database..or from the dataset which is already populated?...

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2.0] disconnected data access ???

    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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