The difference between a DataSet and a Database class

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nikesh patel
    New Member
    • Nov 2011
    • 1

    #1

    The difference between a DataSet and a Database class

    defference between dataset and database class
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    The DataSet Class is a collection of DataTable classes that contain data retrieved from your database so that you can work with it.

    To use the DataSet, you must first fill it with data from the database. Typically you use a DataAdapter to do so. Once you have retrieved data from your database it is loaded into memory for your application to do work with the data.

    I have no idea what a "Database" class is.
    The only "Database" classes I've ever seen were ones that I designed myself as a "database layer" in my applications.


    If you ever need to find information about a control or class while developing in .NET, use the MSDN Library. This library is provided by Microsoft to provide documentation on their classes, controls, concepts and much more.

    -Frinny
    Last edited by Frinavale; Nov 2 '11, 03:22 PM.

    Comment

    Working...