Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 440647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T20:53:37+00:00 2026-05-12T20:53:37+00:00

I have a xml database with the following format: <Students> <Student ID= *GUID NUMBER*>

  • 0

I have a xml database with the following format:

<Students>
 <Student ID= *GUID NUMBER*>
  <FullName>John Smith</FullName>
  <Address>Blah blah blah</Address>
  and so on...
 <Student ID= *GUID NUMBER*>
  <FullName>Joe Blow</FullName>
  <Address>Blah Blah</Address>
  and so on...

I have a combobox that will select from this xml data to display the FullName in its dropdown. Now what I need to do is have other fields to update and add nodes to the chosen Student based on what FullName is chosen in the combobox, once another button – “Submit” is pressed.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T20:53:38+00:00Added an answer on May 12, 2026 at 8:53 pm

    To select your specific Student node, you could do:

    XmlDocument xml = new XmlDocument();
    xml.LoadXml("<Students>...."); // or xml.Load("yourfile.xml");
    XmlElement student = xml.SelectSingleNode(
        String.Format("//Student[@ID='{0}']",
                      yourcombo.SelectedItem.Value)) as XmlElement;
    if(student != null)
    {
        XmlElement another = xml.CreateElement("another");
        another.InnerText = "Value";
        student.AppendChild(another);
    
        // do other stuff
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some xml data stored in database (sqlserver) in following format: eg. email
I have a students xml from a database. The student_state column can have a
Let's say I have the following two pieces of XML in my database <!--
Iam using Zend RestController to output student data (from database) in xml format. Iam
I have the following XML document: <database name=pressPlay> <table name=users> <column name=userID type=INT constraints=tableID_c
I have the following Code to display Data from the Database in XML Document
I have an xml database that contains films, for example: <film id=5> <title>The Avengers</title>
I have some xml data contained in three files (Database.xml, Participants.xml, and ConditionTokens.xml). I
I have a block of XML in a database which is easy enough to
I have a simple problem with XML got from database. Now, this XML can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.