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. C#
  4. Best WinForm approach to presenting XML file in a pretty manner?

Best WinForm approach to presenting XML file in a pretty manner?

Scheduled Pinned Locked Moved C#
csharplinqxmlquestion
3 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.
  • S Offline
    S Offline
    sherifffruitfly
    wrote on last edited by
    #1

    Hi all, I have an xml file that I want to make a small app to present its contents in a convenient way to the user. Nothing especially fancy is needed here - a pane for a treeview so the user can select what he or she wants to look at, a panel for displaying the selection(s), and the facility to load the file in the first place. I'm thinking this would be a good time for me to get familiar with linq2xml (linq noob here), but wanted to see if there were other equally-or-better good routes to go as well. Thx! -sff

    P 1 Reply Last reply
    0
    • S sherifffruitfly

      Hi all, I have an xml file that I want to make a small app to present its contents in a convenient way to the user. Nothing especially fancy is needed here - a pane for a treeview so the user can select what he or she wants to look at, a panel for displaying the selection(s), and the facility to load the file in the first place. I'm thinking this would be a good time for me to get familiar with linq2xml (linq noob here), but wanted to see if there were other equally-or-better good routes to go as well. Thx! -sff

      P Offline
      P Offline
      PIEBALDconsult
      wrote on last edited by
      #2

      sherifffruitfly wrote:

      a pane for a treeview

      Why not simply load the whole XML document into the TreeView?

      S 1 Reply Last reply
      0
      • P PIEBALDconsult

        sherifffruitfly wrote:

        a pane for a treeview

        Why not simply load the whole XML document into the TreeView?

        S Offline
        S Offline
        sherifffruitfly
        wrote on last edited by
        #3

        No major reason - I just think of treeview data situations a 2-paned affairs is all. Possibly that's an out-moded frame of mind. I was more interested in alternative methods of getting the data to the app in the first place though, I can fiddle with it once it's there in a variety of ways. :)

        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