如何解析XML文件并从该文件中获取数据 [英] How to parse XML file and fetch data from that file
本文介绍了如何解析XML文件并从该文件中获取数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的问题是我已经创建了一个xmlfile xm文件我将根据用户名和密码存储多个用户名和密码我想显示硬盘驱动器信息可以帮助我编写代码直接获取通过该代码获取的信息!
我尝试了什么:
获取简单代码我所有的系统硬盘信息
解决方案
开始研究一些优秀的文章 [ ^ ]在CodeProject上。
然后,尝试为自己做的工作。
如果您有任何问题,请回复一个新问题,但请记住发布您遇到问题的代码,并详细说明问题
my que is I have create one xmlfile that xml file i will store multiple username and password on based of that username and password i want to display hard-drive information can help me to write code to fetch directly That inforamtion through that code!
What I have tried:
getting simple code to give me all system harddrive information
解决方案
Start your research with some of the excellent articles[^] here on CodeProject.
Then, have an attempt at doing the work for yourself.
If you have any problems then please do come back with a new question but remember to post the code that you are having the problems with, and a full description of the problem.
这篇关于如何解析XML文件并从该文件中获取数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文