<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Language.aspx.cs" Inherits="InfoPath.Language.Language" %>

<%@ Register src="../Include/Css.ascx" tagname="Css" tagprefix="uc1" %>

<!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>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <uc1:Css ID="Css1" runat="server" />
                <asp:Button class="buttons" ID="btnBackAdmin" runat="server" onclick="btnBackAdmin_Click" 
                            Text="返回管理中心" />
<br>
        <asp:label id="Msg" runat="server" ForeColor="Red"></asp:label>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            CellPadding="4" ForeColor="#333333" GridLines="None" Width="100%" 
            onrowediting="GridView1_RowEditing" 
            onpageindexchanged="GridView1_PageIndexChanged" 
            onpageindexchanging="GridView1_PageIndexChanging" 
            onrowcancelingedit="GridView1_RowCancelingEdit" 
            onrowdeleted="GridView1_RowDeleted" onrowupdated="GridView1_RowUpdated" 
            DataKeyNames="keyname" onrowcommand="GridView1_RowCommand" 
            onrowdeleting="GridView1_RowDeleting" onrowupdating="GridView1_RowUpdating"
             OnRowDataBound="GridView_RowDataBound"
>
        <Columns >
           <asp:BoundField DataField="keyname" Visible=false />
           <asp:TemplateField>
                <EditItemTemplate>
                    <asp:TextBox ID="Vcn" runat="server" Text='<%# Bind("Vcn") %>'></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblVcn" runat="server" Text='<%# Bind("Vcn") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
           <asp:TemplateField>
                <EditItemTemplate>
                    <asp:TextBox ID="Vtw" runat="server" Text='<%# Bind("Vtw") %>'></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblVtw" runat="server" Text='<%# Bind("Vtw") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
           <asp:TemplateField>
                <EditItemTemplate>
                    <asp:TextBox ID="Ven" runat="server" Text='<%# Bind("Ven") %>'></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblVen" runat="server" Text='<%# Bind("Ven") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
           <asp:TemplateField>
                <EditItemTemplate>
                    <asp:TextBox ID="Vfn" runat="server" Text='<%# Bind("Vfn") %>'></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblVfn" runat="server" Text='<%# Bind("Vfn") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
           <asp:TemplateField>
                <EditItemTemplate>
                    <asp:TextBox ID="Vja" runat="server" Text='<%# Bind("Vja") %>'></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblVja" runat="server" Text='<%# Bind("Vja") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
           <asp:TemplateField>
                <EditItemTemplate>
                    <asp:TextBox ID="Vdf" runat="server" Text='<%# Bind("Vdf") %>'></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblVdf" runat="server" Text='<%# Bind("Vdf") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
           <asp:TemplateField>
                <EditItemTemplate>
                    <asp:TextBox ID="Vot" runat="server" Text='<%# Bind("Vot") %>'></asp:TextBox>
                </EditItemTemplate>
                <ItemTemplate>
                    <asp:Label ID="lblVot" runat="server" Text='<%# Bind("Vot") %>'></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            
            <asp:CommandField ShowEditButton="True" HeaderText="Edit" EditText="Edit" />
<%--<asp:TemplateField HeaderText="操作">
            <ItemTemplate>
                <asp:LinkButton ID="LinkButton1" runat="server" CommandName="delete" CommandArgument="postId" OnClientClick="return confirm('确定删除吗')" >删除</asp:LinkButton>
            </ItemTemplate>
        </asp:TemplateField>--%>
        </Columns>
        <RowStyle CssClass="WsdnOrgInfo" ForeColor="#000000" />
        <FooterStyle CssClass="WsdnOrgInfo1" ForeColor="White" Font-Bold="True" />
        <PagerStyle CssClass="WsdnOrgInfo1" ForeColor="#333333" HorizontalAlign="Center" />
        <SelectedRowStyle CssClass="WsdnOrgInfo1" Font-Bold="True" ForeColor="Navy" />
        <HeaderStyle CssClass="WsdnOrgTitle" Font-Bold="True" HorizontalAlign="Left" />
        <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
    </div>
    </form>
</body>
</html>
