主题:接下一个代码
<BODY>
<div align="center" class="style1">学生基本信息查询
</div>
<hr>
<form id='MyForm'runat="server">
<TABLE width="96%" align=center><tr><td bordercolour="#000000"#99CCCC??>
编号: <asp:TextBox ID="编号" runat="server"/>
姓名: <asp:TextBox ID="籍贯" runat="server"/>
<asp:TextBox ID="姓名" runat="server"/>籍贯:
<asp:Button ID="StuSearch" runat="server" OnClick="SearchStu"Text="查询"/></td></tr></TABLE>
<div align="center" class="style2">查询结果</div>
<asp:DataGrid ID="StuDataGrid" Width="96%" AutoGenerateColumns="false"
HorizontalAlign="center"AllowPaging="true"PageSize="10"
OnPageIndexChaged="AtPageIndexChaged" runat="server">
<headerstyle HorizontalAlign="center"Font-size="small"
Font-Bold\="false"BackColour="#CC9966"/>
<pagerstyle Font-Size="small"HorizontalAlign="center"Mode="NextPre"
NextPageText="下一页"PrePageText="上一页"/>
<columns>
<asp:BoundColumn HeaderText="编号" DataField="编号"ReadOnly="true"/>
<asp:HyperLinkColumn HeaderText="姓名"DataNavigateUrlField="编号"
DataNavigateUrlFormatString="ShowStuKC.aspx?NowClickB 编号={0}"
DataTextField="姓名"/>
<asp:BoundColumn HeaderText="姓名" DataField="姓名"ReadOnly="true"/>
<asp:BoundColumn HeaderText="性别" DataField="性别"ReadOnly="true"/>
<asp:BoundColumn HeaderText="籍贯" DataField="籍贯"ReadOnly="true"/>
</columns>
<asp:DataGrid>
</form>
</BODY>
</HTML>
</asp:DataGrid></FORM>
</BODY></HTML>
</asp:DataGrid></FORM></BODY></HTML>
<div align="center" class="style1">学生基本信息查询
</div>
<hr>
<form id='MyForm'runat="server">
<TABLE width="96%" align=center><tr><td bordercolour="#000000"#99CCCC??>
编号: <asp:TextBox ID="编号" runat="server"/>
姓名: <asp:TextBox ID="籍贯" runat="server"/>
<asp:TextBox ID="姓名" runat="server"/>籍贯:
<asp:Button ID="StuSearch" runat="server" OnClick="SearchStu"Text="查询"/></td></tr></TABLE>
<div align="center" class="style2">查询结果</div>
<asp:DataGrid ID="StuDataGrid" Width="96%" AutoGenerateColumns="false"
HorizontalAlign="center"AllowPaging="true"PageSize="10"
OnPageIndexChaged="AtPageIndexChaged" runat="server">
<headerstyle HorizontalAlign="center"Font-size="small"
Font-Bold\="false"BackColour="#CC9966"/>
<pagerstyle Font-Size="small"HorizontalAlign="center"Mode="NextPre"
NextPageText="下一页"PrePageText="上一页"/>
<columns>
<asp:BoundColumn HeaderText="编号" DataField="编号"ReadOnly="true"/>
<asp:HyperLinkColumn HeaderText="姓名"DataNavigateUrlField="编号"
DataNavigateUrlFormatString="ShowStuKC.aspx?NowClickB 编号={0}"
DataTextField="姓名"/>
<asp:BoundColumn HeaderText="姓名" DataField="姓名"ReadOnly="true"/>
<asp:BoundColumn HeaderText="性别" DataField="性别"ReadOnly="true"/>
<asp:BoundColumn HeaderText="籍贯" DataField="籍贯"ReadOnly="true"/>
</columns>
<asp:DataGrid>
</form>
</BODY>
</HTML>
</asp:DataGrid></FORM>
</BODY></HTML>
</asp:DataGrid></FORM></BODY></HTML>