如何将XML文件数据显示到文本框中 [英] How to show XML File Data into textboxes

查看:231
本文介绍了如何将XML文件数据显示到文本框中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI


我有一个XML文件表格数据如下

HI
I have One XML fILE "Form Data" as follow

<FormData>
        <currentpage>1</currentpage>
        <customerdetails>
            <cidn>9858936601</cidn>
            <companydetails>
                <abn>70114206370</abn>
</CompanyDetails>
 </companydetails></customerdetails>





我有两个TextBoxes .....如何显示CIDN和两个文本框中的ABN



请告诉我这个代码...



问候''

Rakesh



I have Two TextBoxes.....How To show CIDN and ABN in Two TextBoxes

Please Tell me code for this ...

Regards''
Rakesh

推荐答案

使用 XMLReader 从XML中读取数据并设置文本框中的文本。究竟有什么困难?
Read the data out of the XML using an XMLReader and set the text in the textboxes. What exactly is the difficulty?


这篇关于如何将XML文件数据显示到文本框中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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