Groups > Asp .Net > Visual Web Developer 2005 Express > Reading XML data using C# code and displaying content in user interface




Reading XML data using C# code and displaying content in
user interface

Reading XML data using C# code and displaying content in user interface
Thu, 20 Mar 2008 17:59:48 +000
Hi.............Thanks a lot in advance..........Please help me to retrieve the
xml data using C# codings(xxx.cs file) and then displaying the same data in the
user interface (created with text boxes and labels)using C#
code...........................Reply me with an example C# codings that will
retrieve the xml data and display them in the text boxes and drop down
list................

 

For ex...

if this is xml schema

<person details> 

<person>

<name > Lakshman</name>

<age>21</age>

</person>

<person>

<name> Srinivas</name>

<age>45</age>

</person>

</person details>

and if this is user interface(consider xxxxxx as text box)

Name     xxxxxxxxxx

Age       xxxxxxxxxx

             Next(button)

Let me know how to display the data in the user interface from the xml data
using c# code............and when next button is pressed it has to navigate
within the xml data displaying next person information from current
information(here from Lakshman to Srinivas)
Post Reply
about | contact