Click here to Skip to main content
13,048,011 members (72,978 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi, Actuvally i am storing a data in variables ,i want to diaply those data into xml file .how to do ?
plz help me

ex:stiring A="john"
string B="petter"
string C="gavaskar"

this above data i want to dispaly in xml how to do?help me
Posted 8-May-13 21:31pm
KM Perumal 9-May-13 3:57am
what output format u want??
Orcun Iyigun 9-May-13 4:06am
Do you want your xml like the following:
Give us a sample format so we can help you better?
Juhi Paunikar 9-May-13 6:17am
Create datatable of your string data then you can easily convert it in to xml using writexml method.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

,i want to diaply those data into xml file
I assume you meant: "I want to store them into a XML file".
It is very easy to create yourself an a XML file, directly using its Write method. Or you may follow a more 'sophisticated' approach using the XmlSerializer[^] class.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 9 May 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100