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
No comments:
Post a Comment