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. Datagrid problem while loading XML data

Datagrid problem while loading XML data

Scheduled Pinned Locked Moved C#
helpxml
4 Posts 3 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.
  • D Offline
    D Offline
    DJ245
    wrote on last edited by
    #1

    Hai friends, Iam creating an application that uses a datagrid with two combobox and two textbox columns. Iam able to save the info from datagrid to XML file. But when the time of opening XML file to datagrid it retrieves the datagrid error. Please help me to remove this error and load XML data in to datagrid...:confused: Thanks in advance KP

    J 1 Reply Last reply
    0
    • D DJ245

      Hai friends, Iam creating an application that uses a datagrid with two combobox and two textbox columns. Iam able to save the info from datagrid to XML file. But when the time of opening XML file to datagrid it retrieves the datagrid error. Please help me to remove this error and load XML data in to datagrid...:confused: Thanks in advance KP

      J Offline
      J Offline
      J a a n s
      wrote on last edited by
      #2

      With the details that you have provided, we wont be able to do anything else other than sharing this[^]link.

      *jaans

      G 1 Reply Last reply
      0
      • J J a a n s

        With the details that you have provided, we wont be able to do anything else other than sharing this[^]link.

        *jaans

        G Offline
        G Offline
        Giorgi Dalakishvili
        wrote on last edited by
        #3

        Or this one: link[^]

        Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion

        D 1 Reply Last reply
        0
        • G Giorgi Dalakishvili

          Or this one: link[^]

          Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion

          D Offline
          D Offline
          DJ245
          wrote on last edited by
          #4

          Hai, Sorry for delay. went for lunch Piece of code

              private RibbonStyle.RibbonButton rbtnOpen;
              private System.Windows.Forms.DataGridView datagrid1;
              private System.Windows.Forms.DataGridViewTextBoxColumn txtSlNo;
              private System.Windows.Forms.DataGridViewTextBoxColumn txtEntities;
              private System.Windows.Forms.DataGridViewComboBoxColumn cmbType;
              private System.Windows.Forms.DataGridViewComboBoxColumn cmbSubType;
          

          txtSlno : Auto generation txtEntity : user data cmbType : Combobox data(loaded programmatically) cmbSubType : Combobox data(loaded programmatically) I want to load the data from the XML file(explained below) to the datagrid while openning XML file. <NewDataSet> <EntityTable> <SlNo>1</SlNo> <Entity>X</Entity> <Type>Data</Type> <SubType>EIF</SubType> </EntityTable> <EntityTable> <SlNo>2</SlNo> <Entity>Y</Entity> <Type>Data</Type> <SubType>ELF</SubType> </EntityTable> <EntityTable> <SlNo>3</SlNo> <Entity>Z</Entity> <Type>Transaction</Type> <SubType>EI</SubType> </EntityTable> </NewDataSet> Regards, KP

          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