use this code to provid background image url for TD which map to root path
< td align="left" background=' < %= Server.MapPath("~/images/rolen.gif") %>' >
u can also use this code also
< td align="left" background=' < %= ResolveClientUrl("~/images/box.gif") %>' >
well i prefer second "ResolveClientUrl" becoz ther Server.MapPath map path at server like c:\rajesh\rolen\mukesh.jpg
How to provide background image in TD from root path
Posted by
Rajesh Rolen
at
Tuesday, December 9, 2008
Labels: ASP.NET
0 comments:
Post a Comment