<%@ page language=”c#” codebehind=”ygdz_xianlist.aspx.cs” autoeventwireup=”false” inherits=”ygdzwww.webform1″ %>
<!doctype html public “-//w3c//dtd html 4.0 transitional//en” >
<html>
<head>
<title>浏览行政县信息</title>
<meta http-equiv=”content-type” content=”text/html; charset=gb2312″>
<meta content=”microsoft visual studio .net 7.1″ name=”generator”>
<meta content=”c#” name=”code_language”>
<meta content=”javascript” name=”vs_defaultclientscript”>
<meta content=”http://schemas.microsoft.com/intellisense/ie5″ name=”vs_targetschema”>
</head>
<body ms_positioning=”gridlayout”>
<form id=”form1″ method=”post” runat=”server”>
<asp:datagrid id=”datagrid1″ style=”z-index: 101; left: 232px; position: absolute; top: 128px”
runat=”server” pagesize=”6″ allowpaging=”true” autogeneratecolumns=”false” bordercolor=”#e7e7ff”
borderstyle=”double” borderwidth=”1px” backcolor=”white” cellpadding=”3″ gridlines=”horizontal”
width=”376px” datakeyfield=”b010101″>
<selecteditemstyle font-bold=”true” forecolor=”#f7f7f7″ backcolor=”#738a9c”></selecteditemstyle>
<alternatingitemstyle backcolor=”#f7f7f7″></alternatingitemstyle>
<itemstyle forecolor=”#4a3c8c” backcolor=”#e7e7ff”></itemstyle>
<headerstyle font-bold=”true” forecolor=”#f7f7f7″ backcolor=”#4a3c8c”></headerstyle>
<footerstyle forecolor=”#4a3c8c” backcolor=”#b5c7de”></footerstyle>
<columns>
<asp:templatecolumn headertext=”选择”>
<itemtemplate>
<asp:checkbox id=”chk” enabled=”true” runat=”server” />
</itemtemplate>
</asp:templatecolumn>
<asp:boundcolumn datafield=”b010101″ visible=”false”>
<itemstyle horizontalalign=”center”></itemstyle>
</asp:boundcolumn>
<asp:templatecolumn headertext=”行政县代码”>
<itemtemplate>
<a href=”ygdz_xianedit.aspx?sxiancode=<%#databinder.eval(container.dataitem,”b010101″)%>&sxianname=<%#databinder.eval(container.dataitem,”b010102″)%>” style=”text-decoration: none” ><%#databinder.eval(container.dataitem,”b010101″)%></a>
</itemtemplate>
</asp:templatecolumn>
<asp:templatecolumn headertext=”行政县名称”>
<itemtemplate>
<a href=”ygdz_xianedit.aspx?sxiancode=<%#databinder.eval(container.dataitem,”b010101″)%>&sxianname=<%#databinder.eval(container.dataitem,”b010102″)%>” style=”text-decoration: none”><%#databinder.eval(container.dataitem,”b010102″)%></a>
</itemtemplate>
</asp:templatecolumn>
<asp:boundcolumn datafield=”b000006″ headertext=”是否失效”>
<itemstyle horizontalalign=”center”></itemstyle>
</asp:boundcolumn>
</columns>
<pagerstyle visible=”false” nextpagetext=”下一页” prevpagetext=”上一页” horizontalalign=”right” pagebuttoncount=”5″></pagerstyle>
</asp:datagrid>
<p></p>
<asp:label id=”label4″ style=”z-index: 102; left: 376px; position: absolute; top: 32px” runat=”server”
width=”248px” font-size=”large” forecolor=”magenta” height=”32px”>行政县信息卡</asp:label>
<table id=”table1″ style=”z-index: 103; left: 232px; width: 376px; position: absolute; top: 320px; height: 40px”
cellspacing=”1″ cellpadding=”1″ width=”376″ bgcolor=”#ccccff” border=”1″>
<tbody>
<tr>
<td align=”right” colspan=”3″><font face=”宋体”><asp:linkbutton id=”pagefirst” onclick=”pagebutton” runat=”server” width=”56px” commandargument=”pagefirst”>第一页</asp:linkbutton><asp:linkbutton id=”pagenext” onclick=”pagebutton” runat=”server” width=”56px” commandargument=”pagenext”>下一页</asp:linkbutton><asp:linkbutton id=”pagepre” onclick=”pagebutton” runat=”server” width=”56px” commandargument=”pagepre”>上一页</asp:linkbutton><asp:linkbutton id=”pagelast” onclick=”pagebutton” runat=”server” width=”56px” commandargument=”pagelast”>末一页</asp:linkbutton></font> <asp:label id=”lbpagecount” runat=”server”>第1页</asp:label></td>
</tr>
<font face=”宋体”></font>
</tbody>
</table>
<asp:button id=”btxianadd” style=”z-index: 104; left: 544px; position: absolute; top: 368px”
runat=”server” text=”添 加”></asp:button>
<asp:button id=”btxiandelete” style=”z-index: 105; left: 456px; position: absolute; top: 368px”
runat=”server” text=”删 除”></asp:button>
<asp:label id=”lbxianname” style=”z-index: 106; left: 248px; position: absolute; top: 96px”
runat=”server”>县名称</asp:label>
<asp:textbox id=”tbxianname” style=”z-index: 107; left: 320px; position: absolute; top: 96px”
runat=”server”></asp:textbox>
<asp:button id=”btxiansearch” style=”z-index: 108; left: 496px; position: absolute; top: 96px”
runat=”server” text=”查 询”></asp:button></form>
</body>
</html>
DATAGRID的集中功能!!(aspx页)-.NET教程,Asp.Net开发
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » DATAGRID的集中功能!!(aspx页)-.NET教程,Asp.Net开发
相关推荐
- 暂无文章
