日期:2009-12-03  浏览次数:20393 次

<%@ 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>
    &l