set background image on a table cell in vb.net codebehind

I want to set the background image of a table cell. i have an html table and I am using the runat=server.
 CType(tblMain.FindControl("tdSecondWeek"), HtmlTableCell).BgColor = "white"

the above works to set the bgcolor but I want to set a background image and then toggle between two different images. to give the appearance of active tabs like on this website.

please help

thanks

jcook32
jcook32Asked:
Who is Participating?
 
Elvio Lujan.Net Senior DeveloperCommented:
CType(tblMain.FindControl("tdSecondWeek"), HtmlTableCell).background = "file.gif"
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.