日期:2014-05-17  浏览次数:20872 次

想加个图片都不知道怎么加.不知道怎么把代码加进去.
Response.Write   "         root1.CreateNode( "&Rs( "Id ")& ",-1, " " <img   src=\ " "images/ico_arrow.gif\ " "   width=\ " "6\ " "   height=\ " "9\ " ">     <a   href=\ " "products.asp?classid= "&Rs( "Id ")& "\ " "> "&Rs( "Title ")& " </a> " ") "   &   vbCrLf


想在那个记录Rs( "Title ")   的下面一行   插入一个图片 <img   src= "images/line.gif "   width= "115 "   height= "1 ">   不怎么代码   怎么加进去!

  实现的效果就是在   每个记录的下一行,插入line.gif   这个   图片  

小弟是菜鸟,,求大哥   帮忙指教一下!!!!谢谢!!!!


------解决方案--------------------
在response.write里写HTML基本代码时,可以把以前的双引号改成单引号即可!``

`````````你试试
------解决方案--------------------
Response.Write " root1.CreateNode( "&Rs( "Id ")& ",-1, " " <img src= 'images/ico_arrow.gif ' width= '6 ' height= '9 '> <a href= 'products.asp?classid= "&Rs( "Id ")& " '> "&Rs( "Title ")& " </a> " ") " & vbCrLf
------解决方案--------------------
Response.Write " root1.CreateNode( "&Rs( "Id ")& ",-1, " " <img src= " "images/ico_arrow.gif " " width= " "6 " " height= " "9 " "> <a href= " "products.asp?classid= "&Rs( "Id ")& " " "> "&Rs( "Title ")& " </a> " ") " & vbCrLf & " <img src= " "images/line.gif " " width= " "115 " " height= " "1 " "> " & vbCrLf


------解决方案--------------------
整行加line.gif

Response.Write " <table> "
'以下是循环
Response.Write " <tr> <td> "
Response.Write " root1.CreateNode( "&Rs( "Id ")& ",-1, " " <img src=\ " "images/ico_arrow.gif\ " " width=\ " "6\ " " height=\ " "9\ " "> <a href=\ " "products.asp?classid= "&Rs( "Id ")& "\ " "> "&Rs( "Title ")& " </a> " ") " & vbCrLf
Response.Write " </td> </tr> "
Response.Write " <tr background== 'images/line.gif ' height= '1 '> " <td> </td> </tr> "
'循环结束
Response.Write " </table> "