dynamic tables asp.net

M

mpriem

Hi,

I am trying to create a webapplication which reads a Xml Document and
dynamically creates tables containing the values. The Xml Document is
created by a windows service I programmed. So if I need to change the
content, I can.

The format for the Xml document is as followed

<ROOT>
<SERVER Name = servername>
<STORAGEGROUP Name = SGname>
<STORE Name = Storename>
<USERS Count = intcount>
</USERS>
</STORE>
</STORAGEGROUP>
</SERVER>
<SERVER Name = severname>
......
........
.....
etc
</ROOT>


I want to create a table for Every Servernode and add
Storagegroup,Store,Users attributes.
Which control do I use and can someone provide some logic which can get
me started?
Thanks in advance!

Regards,

Mark
 
N

Nicholas Paldino [.NET/C# MVP]

Mark,

Do you want to create a data table, or do you want to do something else
with it, like show it in a grid. It's not clear from your original post.
 
M

mpriem

Hi Nicholas,

I wanted to show the data in a table.
It did not matter what tableclass.

I now solved my issue by creating a placeholder and dynamically adding
datagrids to the placeholder.

Thanks for your help!!!!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top