G
Guest
Hi,
I have an web application that response the content of an array of two
dimensions...
I have to show the content of this array inside a table html.
But the number of the columns vary depending a input of the user in the
begining of the application.
I thought that maybe could be a good idea to use xml to define what could be
the format of each cell and rows of the table(for instance <td bgcolor=xxxx
align=xxxx).
Generally i use for instance a HtmlGenericControl, and inside of the
application i append to a string all the content in html, and then i assign
to the property innerHtml of this Generic Control the string, but i dont like
this solution, cause i would like to make anything more automatic, and useful
for another applications that renders similar stuff (htmltables)
Could you give me some advice, or way to follow? maybe im little lost....
I have an web application that response the content of an array of two
dimensions...
I have to show the content of this array inside a table html.
But the number of the columns vary depending a input of the user in the
begining of the application.
I thought that maybe could be a good idea to use xml to define what could be
the format of each cell and rows of the table(for instance <td bgcolor=xxxx
align=xxxx).
Generally i use for instance a HtmlGenericControl, and inside of the
application i append to a string all the content in html, and then i assign
to the property innerHtml of this Generic Control the string, but i dont like
this solution, cause i would like to make anything more automatic, and useful
for another applications that renders similar stuff (htmltables)
Could you give me some advice, or way to follow? maybe im little lost....