DATAGRID的集中功能!!(aspx页)

1@ Page language="c#" Codebehind="YGDZ_xianlist.aspx.cs" AutoEventWireup="false" Inherits="ygdzwww.WebForm1" 
 1<html>
 2<head>
 3<title>浏览行政县信息</title>
 4<meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
 5<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"/>
 6<meta content="C#" name="CODE_LANGUAGE"/>
 7<meta content="JavaScript" name="vs_defaultClientScript"/>
 8<meta content=" http://schemas.microsoft.com/intellisense/ie5 " name="vs_targetSchema"/>
 9</head>
10<body ms_positioning="GridLayout">
11<form id="Form1" method="post" runat="server">
12<asp:datagrid allowpaging="True" autogeneratecolumns="False" backcolor="White" bordercolor="#E7E7FF" borderstyle="Double" borderwidth="1px" cellpadding="3" datakeyfield="B010101" gridlines="Horizontal" id="DataGrid1" pagesize="6" runat="server" style="Z-INDEX: 101; LEFT: 232px; POSITION: absolute; TOP: 128px" width="376px">
13<selecteditemstyle backcolor="#738A9C" font-bold="True" forecolor="#F7F7F7"></selecteditemstyle>
14<alternatingitemstyle backcolor="#F7F7F7"></alternatingitemstyle>
15<itemstyle backcolor="#E7E7FF" forecolor="#4A3C8C"></itemstyle>
16<headerstyle backcolor="#4A3C8C" font-bold="True" forecolor="#F7F7F7"></headerstyle>
17<footerstyle backcolor="#B5C7DE" forecolor="#4A3C8C"></footerstyle>
18<columns>
19<asp:templatecolumn headertext="选择">
20<itemtemplate>
21<asp:checkbox enabled="true" id="chk" runat="server"></asp:checkbox>
22</itemtemplate>
23</asp:templatecolumn>
24<asp:boundcolumn datafield="B010101" visible="False">
25<itemstyle horizontalalign="Center"></itemstyle>
26</asp:boundcolumn>
27<asp:templatecolumn headertext="行政县代码">
28<itemtemplate>
29<a #databinder.eval(container.dataitem,"b010102")="" ```"="" ```&sxianname="```" b010101")="" href="YGDZ_xianedit.aspx?sXianCode=```
30#DataBinder.Eval(Container.DataItem," style="TEXT-DECORATION: none">```
31#DataBinder.Eval(Container.DataItem,"B010101")
32```</a>
33</itemtemplate>
34</asp:templatecolumn>
35<asp:templatecolumn headertext="行政县名称">
36<itemtemplate>
37<a #databinder.eval(container.dataitem,"b010102")="" ```"="" ```&sxianname="```" b010101")="" href="YGDZ_xianedit.aspx?sXianCode=```
38#DataBinder.Eval(Container.DataItem," style="TEXT-DECORATION: none">```
39#DataBinder.Eval(Container.DataItem,"B010102")
40```</a>
41</itemtemplate>
42</asp:templatecolumn>
43<asp:boundcolumn datafield="B000006" headertext="是否失效">
44<itemstyle horizontalalign="Center"></itemstyle>
45</asp:boundcolumn>
46</columns>
47<pagerstyle horizontalalign="Right" nextpagetext="下一页" pagebuttoncount="5" prevpagetext="上一页" visible="False"></pagerstyle>
48</asp:datagrid>
49<p></p>
50<asp:label font-size="Large" forecolor="Magenta" height="32px" id="Label4" runat="server" style="Z-INDEX: 102; LEFT: 376px; POSITION: absolute; TOP: 32px" width="248px">行政县信息卡</asp:label>
51<table bgcolor="#ccccff" border="1" cellpadding="1" cellspacing="1" id="Table1" style="Z-INDEX: 103; LEFT: 232px; WIDTH: 376px; POSITION: absolute; TOP: 320px; HEIGHT: 40px" width="376">
52<tbody>
53<tr>
54<td align="right" colspan="3"><font face="宋体"><asp:linkbutton commandargument="pagefirst" id="PageFirst" onclick="PageButton" runat="server" width="56px">第一页</asp:linkbutton><asp:linkbutton commandargument="pagenext" id="PageNext" onclick="PageButton" runat="server" width="56px">下一页</asp:linkbutton><asp:linkbutton commandargument="pagepre" id="PagePre" onclick="PageButton" runat="server" width="56px">上一页</asp:linkbutton><asp:linkbutton commandargument="pagelast" id="PageLast" onclick="PageButton" runat="server" width="56px">末一页</asp:linkbutton></font>    <asp:label id="LBPageCount" runat="server">第1页</asp:label></td>
55</tr>
56<font face="宋体"></font>
57</tbody>
58</table>
59<asp:button id="BTXianAdd" runat="server" style="Z-INDEX: 104; LEFT: 544px; POSITION: absolute; TOP: 368px" text="添 加"></asp:button>
60<asp:button id="BTXianDelete" runat="server" style="Z-INDEX: 105; LEFT: 456px; POSITION: absolute; TOP: 368px" text="删 除"></asp:button>
61<asp:label id="LBXianName" runat="server" style="Z-INDEX: 106; LEFT: 248px; POSITION: absolute; TOP: 96px">县名称</asp:label>
62<asp:textbox id="TBXianName" runat="server" style="Z-INDEX: 107; LEFT: 320px; POSITION: absolute; TOP: 96px"></asp:textbox>
63<asp:button id="BTXianSearch" runat="server" style="Z-INDEX: 108; LEFT: 496px; POSITION: absolute; TOP: 96px" text="查 询"></asp:button></form>
64</body>
65</html>
Published At
Categories with Web编程
Tagged with
comments powered by Disqus