Question : Adding serverside style to a table

I'm trying to add some css style codes to a table from serverside.
Can't seem to find the right code for it.

ASPX : Table code with ID : Wrappertable


VB :
Wrappertable.BackImageUrl = "~/Upload/Design/GUI/images/powerplusxq/media.jpg"
Wrappertable.Style.Add = ("background-repeat, no-repeat") <-- NOT WORKING

Anyone know how i change background property without setting it directly in the CSS sheet.
Because this needs to be dynamic.

Answer : Adding serverside style to a table

Hope this will helps you,

Wrappertable.BackImageUrl = "~/Upload/Design/GUI/images/powerplusxq/media.jpg"

Wrappertable.Style.Add("background-repeat", "no-repeat");
Random Solutions  
 
programming4us programming4us