The concentration function of the DataGrid!! (aspx page)

Source: Internet
Author: User
Tags eval visual studio
DataGrid <%@ 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> Browse administrative county Information </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>
<footerstyle forecolor= "#4A3C8C" backcolor= "#B5C7DE" ></FooterStyle>
<Columns>
<asp:templatecolumn headertext= "Choice" >
<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= "administrative county Code" >
<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= "Administrative county name" >
<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= "Invalid" >
<itemstyle horizontalalign= "Center" ></ItemStyle>
</asp:BoundColumn>
</Columns>
<pagerstyle visible= "False" nextpagetext= "next Page" prevpagetext= "previous page" 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" > Admin County Information Card </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>
&LT;TD align= "Right" colspan= "3" ><font face= "song Body" ><asp:linkbutton id= "Pagefirst" runat= "Server" Width= " 56px "commandargument=" Pagefirst > First page </asp:linkbutton><asp:linkbutton id= "Pagenext" runat= "Server" Width= "56px" commandargument= "Pagenext" > next page </asp:linkbutton><asp:linkbutton id= "Pagepre" Server "width=" 56px "commandargument=" Pagepre "> Prev </asp:linkbutton><asp:linkbutton id=" Pagelast "runat = "Server" width= "56px" commandargument= "pagelast" > Last page </asp:linkbutton></FONT> <asp:label id= " Lbpagecount "runat=" Server > 1th page </asp:label></TD>
</TR>
<font face= "Song Body" ></FONT>
</TBODY>
</TABLE>
<asp:button id= "Btxianadd" style= "z-index:104; left:544px; Position:absolute; Top:368px "
runat= "Server" text= "add" ></asp:button>
<asp:button id= "Btxiandelete" style= "z-index:105; left:456px; Position:absolute; Top:368px "
runat= "Server" text= "Delete" ></asp:button>
<asp:label id= "Lbxianname" style= "z-index:106; left:248px; Position:absolute; Top:96px "
runat= "Server" > County name </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= "query" ></asp:Button></form>
</body>
</HTML>


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.