AddBooksCatagory.aspx
资源名称:SunShine.rar [点击查看]
上传用户:tjxpgg
上传日期:2017-05-14
资源大小:2244k
文件大小:2k
源码类别:
SilverLight
开发平台:
ASP/ASPX
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddBooksCatagory.aspx.cs" Inherits="AddBooksCatagory" %>
- <!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>
- <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
- <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
- ErrorMessage="必须输入值">*</asp:RequiredFieldValidator>
- <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="增加分类" />
- <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White"
- BorderColor="#336666" BorderStyle="Double" BorderWidth="3px" CellPadding="4"
- GridLines="Horizontal" Width="659px" OnRowDeleting="GridView1_RowDeleting">
- <FooterStyle BackColor="White" ForeColor="#333333" />
- <Columns>
- <asp:BoundField DataField="id" HeaderText="id" />
- <asp:BoundField DataField="name" HeaderText="分类名称" />
- <asp:CommandField DeleteText="<div onclick="return confirm('确认删除吗?')" >删除</div>"
- ShowDeleteButton="True" />
- </Columns>
- <RowStyle BackColor="White" ForeColor="#333333" />
- <SelectedRowStyle BackColor="#339966" Font-Bold="True" ForeColor="White" />
- <PagerStyle BackColor="#336666" ForeColor="White" HorizontalAlign="Center" />
- <HeaderStyle BackColor="#336666" Font-Bold="True" ForeColor="White" />
- </asp:GridView>
- </div>
- </form>
- </body>
- </html>