Insert Background property into TableCell

S

somequestion

how can i solve this problem
i really wanna apply background image into the <asp:TableCell> but it's not
allow i think
i use asp.net 2.0
give me some help..please
 
S

Siva M

Another option is to use the Attributes property of the table cell as in:

<tableCell>.Attributes.Add ("BACKGROUND", "myimg.jpg");

where you have this in the .aspx:

<asp:TableCell runat="server" id="tableCell"></asp:TableCell>

how can i solve this problem
i really wanna apply background image into the <asp:TableCell> but it's not
allow i think
i use asp.net 2.0
give me some help..please
 

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

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,158
Latest member
Vinay_Kumar Nevatia
Top