我的是搜索结果能够在其它页显示,显示在当前页总没成功。
子栏目内容区代码:
<form name="S_zyzscx" method="get" target="zdy_search" action="/e/search/">
姓名:<input type=text name="title" id="title" value="" maxlength="50" ><br></select>
<br><!--以上html代码可根据需要删除和修改--><input type="hidden" name="modelid" value="155"><input type="hidden" name="siteid" value="1"><input type="submit" class="bt" value=" 搜索 ">
</form>
搜索模型代码:
<style type="text/css">
.tablestyle{border:1px solid #cccccc;border-collapse:collapse; }
.tablestyle td{border:1px solid #cccccc; color

FFF;}
.tablestyle .thead{background-color

eeeeee;font-weight:bold; color

039;}
</style>
<table width="1008">
<tr>
<td width="20%"> </td>
<td width="80%">
<table border=0 cellpadding=2 cellspacing=0 class=tablestyle >
<tr>
<td height=25 align=center width=100 class=thead >姓名</td>
<td height=25 align=center width=120 class=thead >身份证号</td>
<td height=25 align=center width=100 class=thead >证书编号</td>
<td height=25 align=center width=100 class=thead >发证日期</td>
<td height=25 align=center width=200 class=thead >培训内容</td>
</tr>
<%
DataTable dt=Get_Data();
DataRow dr;
for(int i=0;i<dt.Rows.Count;i++)
{
dr=dt.Rows
; //说明:给dr赋值
%>
<tr>
<td height=20 align=center><%=Server.HtmlEncode(dr["title"].ToString())%></td>
<td height=20 align=center><%=dr["pa_sfzh"].ToString()%></td>
<td height=20 align=center><%=dr["pa_zsbh"].ToString()%></td>
<td height=20 align=center><%=dr["thedate"].ToString()%></td>
<td height=20 align=center><%=dr["content"].ToString()%></td>
</tr>
<%
}
%>
</table>
</td>
</tr>
</table>