Results 1 to 2 of 2

Thread: Create and Display XML File

  1. #1
    Junior Member
    Join Date
    May 2008
    Answers
    1

    Create and Display XML File

    Working with xml files problem: 1. Create a xml file giving values from user. O.k i know this initally.but, to append new elements i dont know the xml file should contain the structure,
    12
    sanjay ganesh
    34
    hyd

    13
    sanjay ganesh
    44
    sec

    14
    sanju ganesh
    23
    hyd

    15
    samy ganesh
    34
    blore

    2. Next, from webpage we need to search perticular record example suppose i pass a value for age >30 the related patients details should display in some data controls like data grid/gridview or, suppose i passed first name as samy that related information should display in grid view control i dont know this.please help me in doing this problem. Hoping you reply soon.


  2. #2
    Contributing Member
    Join Date
    Jun 2007
    Answers
    65

    Re: Create and Display XML File

    The best solution for this is DataTable

    Here are the solutions explained to your problems

    1. Creating a XML file and appending nodes
    You can use a DataTable object having 4 columns with names as required. You can insert rows (values provided by user) into it easily.
    You can retrieve XML any time by using DataTable.ReadXML

    2. Filtering data
    There are methods available in DataTable to filter or sort data easily

    If still have some problem then post back.

    ---V V---
    Vikas Vaidya

    Please mark this post as Thanks if u find this post usefule


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact