Microsoft
Software
Hardware
Network
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/image
s/powerplu
sxq/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/image
s/powerplu
sxq/media.
jpg"
Wrappertable.Style.Add("ba
ckground-r
epeat", "no-repeat");
Random Solutions
Run Queries Based on Form Values
Windows 2003 Server - IIS 6 connection to shared server - Logon/Logoff errors Event 529 & 680
Print setup in Excel 2007
Apache .NET vs IIS 6.0\7.0
Perl SQL Server error - SQL-01004
Exchange 2003 to 2007 mailbox move problem
Disable save a copy in Outlook 2003's Sent folder when sending out emails
server 2003 activation
Dlookup to prevent duplicate entries
how do i print directly to lpt1 in vb.net