Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Xml help please

Xml help please

Scheduled Pinned Locked Moved Visual Basic
questioncssxmlhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Makniteasy
    wrote on last edited by
    #1

    I am new to VB and am trying to learn xml. I have two forms i am working with.the second form has a datagrid(DataGridView from toolbox) on it. I have used System.IO.FileStream to create a file in c:\. But how do I get form 2's grid or table to automatically save changes made by the user to the file in C:\ and then load them when the application is opened again? what type of xml do I use document, textreader, etc... THANKS

    D 1 Reply Last reply
    0
    • M Makniteasy

      I am new to VB and am trying to learn xml. I have two forms i am working with.the second form has a datagrid(DataGridView from toolbox) on it. I have used System.IO.FileStream to create a file in c:\. But how do I get form 2's grid or table to automatically save changes made by the user to the file in C:\ and then load them when the application is opened again? what type of xml do I use document, textreader, etc... THANKS

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      If your using a DataGrid, your grid should be sourced (DataSource property) to a DataSet object that contains the actual data your changing. When the changes are complete, you can have the DataSet object write the data out to an XML file. Checkout the docs on the DataSet class here[^] on MSDN. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups