htmltable and table

S

suzy

what is the difference between a htmltable control and a table control i
know one is server control and the other is not, but when would each be
used?

also, how do you set the class of a html control to use a class in a CSS
file? it doesn't have a CssStyle property, (but the server control does).

thanks
 
R

Ron Vecchi

to answer your second question use
HtmlTable.Attributes.Add("class","yourclassname");
 
S

Steve C. Orr, MCSD

Basically they are just different programming models.
Personally I find the HTMLTable to be easier to work with at design time,
while I find the web control easier to work with at run time.
 

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

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top