when should I use a Dataset?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yarbrough40
    Contributor
    • Jun 2009
    • 320

    when should I use a Dataset?

    Oddly I have never ever found the need to use a dataset. I very often use datatables as disconnected recordsets or for use when binding grids and the like. However I am having trouble understanding what the useful purpose of incorporating my datatables into a larger set. If someone would like to share a practicle example, that would be super : )
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Well a DataSet is useful for a whole bunch of reasons. It contains more than one DataTable and you can specify how these tables are related. It also allows you to do updates etc where a simple DataTable doesn't have this functionality.

    I could go on about the differences between the two but MSDN explains it a lot better in their documentation on the DataSet class.

    :)

    -Frinny

    Comment

    • yarbrough40
      Contributor
      • Jun 2009
      • 320

      #3
      much obliged! .

      Comment

      Working...