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. Begginer XML question.

Begginer XML question.

Scheduled Pinned Locked Moved XML / XSL
questioncsharpasp-netxml
3 Posts 3 Posters 7 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.
  • C Offline
    C Offline
    Chagit 0
    wrote on last edited by
    #1

    I have an XML file that need to be shown as a table. I know that I can do it by XslTransform, but I need to let the user to edit the data and save it in the XML file. How can I do it using C# in ASP.NET? Thank you Chagit

    C P 2 Replies Last reply
    0
    • C Chagit 0

      I have an XML file that need to be shown as a table. I know that I can do it by XslTransform, but I need to let the user to edit the data and save it in the XML file. How can I do it using C# in ASP.NET? Thank you Chagit

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      I believe the DataGrid (or something similar ) provided by WebForms can be bound to an XML source and is editable. But I'm just startng with this stuff, so I'm not sure. Christian Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002 During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002

      1 Reply Last reply
      0
      • C Chagit 0

        I have an XML file that need to be shown as a table. I know that I can do it by XslTransform, but I need to let the user to edit the data and save it in the XML file. How can I do it using C# in ASP.NET? Thank you Chagit

        P Offline
        P Offline
        Paul Watson
        wrote on last edited by
        #3

        Chagit wrote: How can I do it using C# in ASP.NET? There are many ways, both conventional and unconventional. As Christian mentioned you can use the power of the DataGrid to do most of the grunt work for you. This article explains how it is done. You can also do it manually by having a master/detail setup as you would have had in ASP with a SQL data source. Remember XML is just a data source really, not a full query/input technology. You still need processing from ASP or ASP.NET or some other language to get data into an XML source. So for example you would use XSL to output the HTML which included a FORM element back to a handling ASP page which goes through the FORM child-input-elements writing the changed data back into the XML file.

        Paul Watson
        Bluegrass
        Cape Town, South Africa

        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