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. XML / XSL
  4. XML Database on Client w/C#

XML Database on Client w/C#

Scheduled Pinned Locked Moved XML / XSL
helpquestioncsharpdatabasexml
1 Posts 1 Posters 2 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hi I am making a database that will be roughly 6 tiers. I have no problem constructing the first item that will go into the database but the second item gives me an exception error because i am unsure how to check too see if there already is an element in the database matching my new item. Ex. I can construct this using the XmlDocument class tier1/tier2/tier3/tier4/tier5/tier6/Bob/salary When i try to add another person say Jane the first thing i do is attempt to reconstruct tier1 again. This gives me an exception because tier1 is already there. I require quite a few tiers to adequately group things, say tier2a, tier2b, ect. How do i make it so if tier1 already exists then i don't try to recreate tier1, but instead set the tier1 element to an element in my program so that if i need to make a tier2c then i can have an element to make tier2c a child of?

    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