Register |

Author Code Resources

Find developer resources,code sample,articles,blogs,project sample for creating application in various technology.
Programming Languages
Tech News and Resources

Recent Articles,blogs and code snippets


How to bind HTML table with an XML document

In the following example i will show you how you can display data in a HTML table from an XML document.

Basic rules for a well formed XML document

An XML(Extensible markup Language) is a meta-markup language that provides a format for describing structured data. It is necessary that an XML document must have the following conditions:

Read data from XML with Multiple or Nested Tables in C#

.Net provide us some built in functions to read a XML file but those all will work if our xml file have single table and very simple format. If we have multiple nested tables(Table within Table) in XML the we need to use C# foreach loop to find out our required data.

A Simple XML Document

  This is very simple example, but this XML document contains all the important parts that you will find in all XML documents.

More inside AuthorCode