<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>动态修改数据库表中的数据记录</title>
    <style type="text/css">
        .style1
        {
            font-weight: bold;
            color: #800080;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 450px;" align="center">
            <tr>
                <td align="center" 
                    style="font-size: x-large; font-weight: 700; font-family: 华文细黑" > 
                    <span class="style1">动态修改数据库表中的数据记录</span>
                </td>
            </tr>
            <tr>
                <td align="center">
                    &nbsp;
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                        BackColor="White" BorderColor="#DEDFDE" BorderStyle="None" BorderWidth="1px" 
                        CellPadding="4" ForeColor="Black" GridLines="Vertical" Height="160px" 
                        Width="440px">
                        <FooterStyle BackColor="#CCCC99" />
                        <RowStyle BackColor="#F7F7DE" />
                        <Columns>
                            <asp:BoundField DataField="仓库号" HeaderText="仓库号" />
                            <asp:BoundField DataField="城市" HeaderText="城市" />
                            <asp:BoundField DataField="面积" HeaderText="面积" />
                            <asp:BoundField DataField="创建时间" HeaderText="创建时间" />
                            <asp:HyperLinkField DataNavigateUrlFields="仓库号" 
                                DataNavigateUrlFormatString="Updateshow.aspx?id={0}" HeaderText="修改" 
                                Text="修改" />
                        </Columns>
                        <PagerStyle BackColor="#F7F7DE" ForeColor="Black" HorizontalAlign="Right" />
                        <SelectedRowStyle BackColor="#CE5D5A" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#6B696B" Font-Bold="True" ForeColor="White" />
                        <AlternatingRowStyle BackColor="White" />
                    </asp:GridView>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
