开发者

How to Create an XML object in Visual Studio C#

I want to pass an XML object from code behind file of an aspx to an class libr开发者_StackOverflow中文版ary.for that how can i create a XML Object. please its urgent.


.NET includes multiple XML APIs (XML Document—a typical DOM implementation, a streaming API, an XPath orientated API and LINQ to XML). So lots to chose from.

Without more detail impossible to say which is your best approach. I would suggest starting reading MSDN at "XML Documents and Data".


Load an XML file from disk http://msdn.microsoft.com/en-us/library/875kz807.aspx

or some XML from a string

http://msdn.microsoft.com/en-us/library/system.xml.xmldocument.loadxml.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜