building HTML dynamicly

RTT

Newcomer
Joined
Mar 18, 2005
Messages
19
I have to build a form that is very variable. So i would like to write the HTML for the table out of the VB code. How can this be done?

It's like the way i do it in php, there i can easily check certain things and write out a part of a table depending on the checks i made in php...

for example for vb

dim i as boolean = true
if i then
'here i should find a way to write the html needed so it can be displayed on the site.

end if


all idea's are welcome..

thxs
 
A typical way is to have a panel or plceholder on the form, then Add controls to it. For html tags just add the strings as a Literal control.
 
i created the table with table properties at load time.. it works... just somthing you have to keep your mind to...
 
Back
Top