谁能解释我如何在asp.net中读取xmlfile [英] any one explain me how to read xmlfile in asp.net

查看:70
本文介绍了谁能解释我如何在asp.net中读取xmlfile的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以解释我如何在asp.net中读取xmlfile ...........
我尝试学习Google,但没有得到
任何人都可以逐步解释

这是下面给出的我的文件....

该文件的路径是...
C:\ Documents and Settings \ azhar \ Desktop \ appsettings.xml


any one explain me how to read xmlfile in asp.net...........
I try to lear in google but am not getting
any one explain step by step

this is my file below given....

path of this file is...
C:\Documents and Settings\azhar\Desktop\appsettings.xml


<?xml version="1.0" standalone="yes" ?>
- <DocumentElement>
- <Location>
  <id>NMBM Test</id>
  <DataBaseName>ICMAStest</DataBaseName>
  <WebServerName>ICMAS-TEST</WebServerName>
  <DataBaseServerName>ICMAS-TEST\SQLEXPRESS</DataBaseServerName>
  <ClientSettingsProvider.ServiceUri />
  <RptUrl>http://icmas-test/ReportServer_SQLEXPRESS</RptUrl>
  <ReportPath>/ICMASReports/</ReportPath>
  <ReportServerUserName>NALIN</ReportServerUserName>
  <ReportServerPassword>temp123</ReportServerPassword>
  <SMTPServerId>10.100.0.80</SMTPServerId>
  </Location>
- <Location>
  <id>NMBM Production</id>
  <DataBaseName>ICMAStest</DataBaseName>
  <WebServerName>ICMAS-TEST</WebServerName>
  <DataBaseServerName>ICMAS-TEST\SQLEXPRESS</DataBaseServerName>
  <ClientSettingsProvider.ServiceUri />
  <RptUrl>http://icmas-test/ReportServer_SQLEXPRESS</RptUrl>
  <ReportPath>/ICMASReports/</ReportPath>
  <ReportServerUserName>NALIN</ReportServerUserName>
  <ReportServerPassword>temp123</ReportServerPassword>
  <SMTPServerId>10.100.0.80</SMTPServerId>
  </Location>
- <Location>
  <id>ICMASDev Satish</id>
  <DataBaseName>ICMAStest</DataBaseName>
  <WebServerName>192.168.0.178</WebServerName>
  <DataBaseServerName>epmpune\ciodevdb</DataBaseServerName>
  <ClientSettingsProvider.ServiceUri />
  <RptUrl>http://icmas-test/ReportServer_SQLEXPRESS</RptUrl>
  <ReportPath>/ICMASReports/</ReportPath>
  <ReportServerUserName>NALIN</ReportServerUserName>
  <ReportServerPassword>temp123</ReportServerPassword>
  <SMTPServerId>10.100.0.80</SMTPServerId>
  </Location>
- <Location>
  <id>ICMAS Test icmastest-userpc2</id>
  <DataBaseName>ICMASQA</DataBaseName>
  <WebServerName>userpc2</WebServerName>
  <DataBaseServerName>epmpune\ciodevdb</DataBaseServerName>
  <ClientSettingsProvider.ServiceUri />
  <RptUrl>http://userpc2/ReportServer_SQLEXPRESS</RptUrl>
  <ReportPath>/userpc2/</ReportPath>
  <ReportServerUserName>NALIN</ReportServerUserName>
  <ReportServerPassword>temp123</ReportServerPassword>
  <SMTPServerId>mail.24by7cio.com</SMTPServerId>
  </Location>
- <Location>
  <id>ICMASQA</id>
  <DataBaseName>ICMASQA</DataBaseName>
  <WebServerName>192.168.0.178</WebServerName>
  <DataBaseServerName>epmpune\ciodevdb</DataBaseServerName>
  <ClientSettingsProvider.ServiceUri />
  <RptUrl>http://userpc2/ReportServer_SQLEXPRESS</RptUrl>
  <ReportPath>/userpc2/</ReportPath>
  <ReportServerUserName>NALIN</ReportServerUserName>
  <ReportServerPassword>temp123</ReportServerPassword>
  <SMTPServerId>mail.24by7cio.com</SMTPServerId>
  </Location>
  </DocumentElement>

推荐答案

嗯.
Microsoft很好地一步一步解释了它: http://support.microsoft.com/kb/307548 [^ ]

哪一部分给您带来了麻烦?
Um.
Microsoft does a pretty good job of explaining it step by step: http://support.microsoft.com/kb/307548[^]

What part of that is giving you problems?


这篇关于谁能解释我如何在asp.net中读取xmlfile的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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