我如何在给定的文件下面进行此操作....................................... ...... [英] how can i do this below file given................................................
本文介绍了我如何在给定的文件下面进行此操作....................................... ......的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何通过使用单独的文本框读取xml中的thi文件
有人告诉我.....
这是文件路径.
C:\ Documents and Settings \ anusha \ Desktop \ flashrecorder.xml
how can i read thi file in xml by using textboxes individualy
any one tell me.....
this is file path.
C:\Documents and Settings\anusha\Desktop\flashrecorder.xml
- <CONFIG>
- <SETTINGS>
<PLAYER_SETTINGS Name="License" Value="6b100nwghzms2cqk8v5prdjyf7t493" />
<PLAYER_SETTINGS Name="SiteURL" Value="http://irrex.ctco.lv:81/videocapture/" />
<PLAYER_SETTINGS Name="ServerURL" Value="rtmp://10.101.101.2:1935/oflaDemo/" />
<PLAYER_SETTINGS Name="FPS" Value="10" />
<PLAYER_SETTINGS Name="AudioRate" Value="11" />
<PLAYER_SETTINGS Name="VideoWidth" Value="320" />
<PLAYER_SETTINGS Name="VideoHeight" Value="240" />
<PLAYER_SETTINGS Name="VideoCompression" Value="85" />
<PLAYER_SETTINGS Name="AudioGain" Value="50" />
<PLAYER_SETTINGS Name="SaveScript" Value="http://irr.ctco.lv/agjbrs/SaveVideoFile.aspx" />
<PLAYER_SETTINGS Name="AudioActivity" Value="50" />
<PLAYER_SETTINGS Name="VideoActivity" Value="50" />
<PLAYER_SETTINGS Name="MaxRecordingTime" Value="50" />
<PLAYER_SETTINGS Name="Color" Value="0x000077" />
<PLAYER_SETTINGS Name="EmbedURL" Value="http://irrex.ctco.lv/videocapture/player.swf" />
<PLAYER_SETTINGS Name="ShareURL" Value="http://irrex.ctco.lv/videocapture/share.aspx" />
<PLAYER_SETTINGS Name="LogoURL" Value="http://irrrx.ctco.lv/videocapture/logo.jpg" />
<PLAYER_SETTINGS Name="RedirectURL" Value="http://irrex.ctco.lv/agjbrs/Videorecorder.aspx?from=save" />
<PLAYER_SETTINGS Name="ShowLinkButton" Value="false" />
</SETTINGS>
- <MSG>
<ERROR Name="Saving" Value="Saving file to the database..." />
<ERROR Name="SaveSuccess" Value="The file has been saved successfully" />
<ERROR Name="SaveError" Value="There was an error saving the file.Plz Check File size" />
<ERROR Name="NoMic" Value="You do not have a microphone installed" />
<ERROR Name="NoCam" Value="You do not have a camera installed" />
<ERROR Name="MaxRecordingTime" Value="Time limit" />
</MSG>
</CONFIG>
推荐答案
如果我正确,则需要将每个信息放在不同的文本框中
以下链接将帮助您阅读xml文件,然后您可以在不同的文本框中随意显示每个信息
http://support.microsoft.com/kb/307548 [使用.NET读取XML文件 [
if i''m correct you want each information in different text boxes
following links will help you reading a xml file then you can display each information as you like in different textboxes
http://support.microsoft.com/kb/307548[^]
Reading an XML file using .NET[^]
将XML加载到DataSet
中.使用loop
(for
或for each
)可以在文本框中显示该值.
将XML加载到数据集 [
Load the XML inDataSet
. And usingloop
(for
orfor each
) you can show the value in text-boxes.
Load XML to DataSet[^]
这篇关于我如何在给定的文件下面进行此操作....................................... ......的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文