<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="10"> </td>
<td><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="498" height="287" valign="top" background="images/index_08.jpg"><table width="499" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15" height="20"> </td>
<td width="466"> </td>
<td width="18"> </td>
</tr>
<tr>
<td height="250"> </td>
<td>
<!--JS脚本1--开始-->
<script type="text/javascript">
imgUrl1="images/01.jpg";
imgtext1="线路01"
imgLink1=escape("#");
imgUrl2="images/02.jpg";
imgtext2="线路02"
imgLink2=escape("#");
imgUrl3="images/03.jpg";
imgtext3="线路03"
imgLink3=escape("#");
imgUrl4="images/04.jpg";
imgtext4="线路04"
imgLink4=escape("#");
imgUrl5="images/05.jpg";
imgtext5="线路05"
imgLink5=escape("#");
var focus_width=466
var focus_height=250
var text_height=0
var swf_height = focus_height+text_height
var pics=imgUrl1+"|"+imgUrl2+"|"+imgUrl3+"|"+imgUrl4+"|"+imgUrl5
var links=imgLink1+"|"+imgLink2+"|"+imgLink3+"|"+imgLink4+"|"+imgLink5
var texts=imgtext1+"|"+imgtext2+"|"+imgtext3+"|"+imgtext4+"|"+imgtext5
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="images/focus1.swf"><param name="quality" value="high"><param name="bgcolor" value="#F0F0F0">');
document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
document.write('</object>');
</script>
<!--JS脚本1--结束-->
</td>
<td> </td>
</tr>
</table>
这个是那段页面代码
不知道你要问些什么东西
参考:http://space.cnblogs.com/question/9064/
后台写一个类,
public static DataTable xxBind()
{
查询返回DataTable;
}
前台这样用
<%=for(int i=0; i<xxBind.Rows.Count;i++){%>
imgUrl1="<%=xxBind().Rows[i]["你的数据库字段"]%>";
imgtext1="<%=xxBind().Rows[i]["你的数据库字段"]%>";
<%}%>