如何在xml中显示数据? [英] how to dispaly data in xml ?
问题描述
Actuvally我在变量中存储数据,我想将这些数据存入xml文件。如何操作?
plz帮助我
ex:stiring A =john
string B =petter
string C =gavaskar
这个以上数据我想在xml中显示怎么办?帮帮我
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
推荐答案
,我想将这些数据透露到xml文件中
,i want to diaply those data into xml file
我假设你的意思是:我想将它们存储到<$ c $中c> XML 文件。
直接使用Write创建一个 XML
文件非常容易方法。或者,您可以使用 XmlSerializer [ ^ ] class。
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.
这篇关于如何在xml中显示数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!