<%@ page language="C#" autoeventwireup="true" inherits="admin_help_aboulist, webpages" %>

<!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 style="text-align: left">
        <br />
        标题：<asp:TextBox ID="biaotext" runat="server"></asp:TextBox>&nbsp; 标识：<asp:TextBox
            ID="biaoshi" runat="server" Width="120px"></asp:TextBox>&nbsp;<asp:Button ID="Button1"
                runat="server" OnClick="Button1_Click" Text="添加" /><br />
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
            DataSourceID="SqlDataSource1" Width="98%">
            <Columns>
                <asp:BoundField DataField="id" HeaderText="id" InsertVisible="False" ReadOnly="True"
                    SortExpression="id" />
                <asp:BoundField DataField="title1" HeaderText="标题" SortExpression="title1" />
                <asp:BoundField DataField="biaoshi" HeaderText="标识" SortExpression="biaoshi" />
                <asp:BoundField DataField="lei" HeaderText="类别" SortExpression="lei" />
                <asp:BoundField DataField="pic" HeaderText="图片" SortExpression="pic" />
                <asp:BoundField DataField="xiangmu" HeaderText="项目名" SortExpression="xiangmu" />
                <asp:TemplateField ShowHeader="False">
                        <ItemTemplate>
                        <asp:Label ID="xgms" runat="server" Text='' ><a href="editabout.aspx?bs=<%# Eval("id") %> " target="_blank">修改 </a></asp:Label>
                        </ItemTemplate>
                </asp:TemplateField>
                <asp:CommandField ShowDeleteButton="True" />
            </Columns>
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
            SelectCommand="SELECT [id], [title1], [biaoshi], [lei], [pic],[xiangmu] FROM [help_1] ORDER BY [id]">
        </asp:SqlDataSource>
    
    </div>
    </form>
</body>
</html>
