在WinForm上阅读XmlFile [英] Read XmlFile on WinForm
问题描述
这是我的xml文件:
This is my xml File :
<?xml version="1.0" encoding="utf-8" ?>
<quiz>
<problem>
<question>C# is...</question>
<answerA>Assembly language</answerA>
<answerB>Low level language</answerB>
<answerC>High level langauge</answerC>
<correct>C</correct>
</problem>
<problem>
<question>What does HTML stand for?</question>
<answerA>Hyper Text Markup language</answerA>
<answerB>Xerxes, the Magnificent Chameleon</answerB>
<answerC>eXecutes with Multiple Limitations</answerC>
<correct>A</correct>
</problem>
</quiz>
和此我的设计表
http://s2.postimg.org/rbiuoq1x5/Capture.png [< a href =http://s2.postimg.org/rbiuoq1x5/Capture.pngtarget =_ blanktitle =新窗口> ^ ]
i希望C#代码加载问题进入标签
和answerA进入radiobutton1
answerB进入radiobutton2
answerC进入radiobutton3
和最后显示在文本框中选择正确答案的总分数和问题点是10
可以任何人帮助我
and This My Design Form
http://s2.postimg.org/rbiuoq1x5/Capture.png[^]
i want C# Code Load Question into label
and answerA into radiobutton1
answerB into radiobutton2
answerC into radiobutton3
and Finally show in text box Total Score for chosen right answer and point of question is 10
can any one Help me
推荐答案
从这里开始: HTTP:// WW w.codeproject.com/search.aspx?q=quiz+xml&usfc=false&doctypeid=4%3b5 [ ^ ]
很少答案:
使用xml的测验游戏? [ ^ ]
Xml测验应用程序 [ ^ ]
Start here: http://www.codeproject.com/search.aspx?q=quiz+xml&usfc=false&doctypeid=4%3b5[^]
Few answers:
Quiz Game using xml?[^]
Xml Quiz Application[^]
这篇关于在WinForm上阅读XmlFile的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!