C# - Parse an XML file

Поділитися
Вставка
  • Опубліковано 8 лис 2024

КОМЕНТАРІ • 23

  • @Cryptic137137
    @Cryptic137137 9 років тому +19

    even if this video is 2 years old: thank you... much better then 95% xml tutorials i have seen so far

    • @LeftTechticle
      @LeftTechticle  9 років тому

      Cryptic137137 Good to hear.

    • @mcmustang51
      @mcmustang51 8 років тому +3

      +Cryptic137137 Can you link to one of the top 5% videos then?

    • @RagHelen
      @RagHelen 4 роки тому +4

      People from the past are so funny.

    • @rahuljarngal478
      @rahuljarngal478 Рік тому +1

      @@RagHelen yes they are.

  • @motorhead41
    @motorhead41 2 роки тому +1

    R.I.P. Bob Saget

  • @MrFlashXs
    @MrFlashXs 10 років тому

    Awesome tutorial but I could use a little help tossing the data into other things besides a property grid.
    I've got two textboxes that'll hold an author and a description instead of age and ismale but I have them nested as attributes instead of an element under. So when I click, what code would I toss into the selectedIndex code to make the properties for the right item show up in the textboxes?

  • @casemsee3957
    @casemsee3957 7 років тому

    Excellent explanation. Can you attach the XML and .cs files? used in this video.

  • @adambowen3593
    @adambowen3593 10 років тому

    Should make a tutorial of xml to db with an xml file with multiple tables. Using a foreach etc.

  • @workmode8501
    @workmode8501 10 років тому

    double angle bracket. Nice tut!

  • @CosmicHiker22
    @CosmicHiker22 8 років тому +2

    I've used a variation of this code, and the exact code multiple times now and neither seem to work. The names will display in the listbox, but nothing is displaying in the property grid.

    • @Ankayuko
      @Ankayuko 7 років тому

      I have the same problem. Did you manage to find a fix? Thanks!

    • @CosmicHiker22
      @CosmicHiker22 7 років тому

      Anca1994 yes the program wasn't reading the event handler. I had to move the event handler to the top of the code.

    • @Ankayuko
      @Ankayuko 7 років тому

      Thanks! It works!

  • @111.saisrikanthsattenapall9
    @111.saisrikanthsattenapall9 8 років тому

    What is the difference between parsing and deserializing? Cuz parsing an XML gives an object and even XMLSerializer.Desirialize(stream) gives an object.

    • @LeftTechticle
      @LeftTechticle  8 років тому +1

      Good question. I looked up the words, they are pretty similar in the context of programming. However, "deserialization" assumes that something has to be serialized first whereas "parsing" does not. "Parsing" could be simply breaking down something from a fairly normal state (like disseminating).

  • @anantharamakrishnan5240
    @anantharamakrishnan5240 7 років тому

    thank you this helped me!

  • @kadarmydeen6087
    @kadarmydeen6087 3 роки тому

    i get an unhandled exception of type 'system.outofmemoryexecption' list box contains too many items

  • @1laguna1
    @1laguna1 10 років тому

    Great tutorial!

  • @BerinWong
    @BerinWong 9 років тому

    awesome

  • @sartura
    @sartura 9 років тому

    tyvm

  • @valigeorge9110
    @valigeorge9110 7 років тому

    Thx!

  •  4 роки тому

    Zero explanation.