使用C Sharp Dot Net在Microsoft Visual Studio的Windows应用程序中检索XML [英] Retrival of XML in Windows application in Microsoft Visual Studio using C Sharp Dot Net

查看:103
本文介绍了使用C Sharp Dot Net在Microsoft Visual Studio的Windows应用程序中检索XML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从XML Form

How to Retrive the XML sheet data into windows application in c#.net From XML Form

推荐答案

将XML工作表数据检索到c#.net的Windows应用程序中我假设XML工作表是指XML文件,下一页可能帮助您继续前进,

如何使用Visual C#从文件中读取XML
[^ ]

:)
I assume XML sheet refers to a XML file, following page might help you to go ahead,

How to read XML from a file by using Visual C#
[^]

:)


如果您想将xml数据读入数据表或数据集中,则将其rty并在需要的地方使用
if you want read xml data into data table or dataset then rty it and use where ever you want
string XMLFile = Server.MapPath("your server path");
DataSet dsReadXMLFile = new DataSet();
if (File.Exists(SMTPSettingFile))
 {
    dsReadXMLFile .ReadXml(XMLFile);
 }


这篇关于使用C Sharp Dot Net在Microsoft Visual Studio的Windows应用程序中检索XML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆