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

<!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>
    <link rel="stylesheet" href="1.css" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        标题：<asp:TextBox ID="txtTitle" runat="server"></asp:TextBox><br />
        分类：<asp:DropDownList ID="ddlClass" runat="server" DataSourceID="SqlDataSource1" DataTextField="className"
            DataValueField="id">
        </asp:DropDownList><br />
        内容：<asp:TextBox ID="txtContent" runat="server" Height="135px" TextMode="MultiLine"
            Width="529px"></asp:TextBox><br />
        <asp:DropDownList ID="ddlStatus" runat="server">
            <asp:ListItem Value="0">正常</asp:ListItem>
            <asp:ListItem Value="1">屏蔽</asp:ListItem>
        </asp:DropDownList><br />
        <asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="保存" />
        <br />
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:db %>"
            SelectCommand="SELECT * FROM [class]"></asp:SqlDataSource>
    
    </div>
    </form>
</body>
</html>
