admin/musicup.aspx

(完整代码) 3KB

<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/admin/admin.master" CodeFile="musicup.aspx.cs" Inherits="admin_musicup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
    .auto-style1 {
        font-size: medium;
    }
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cp2" Runat="Server">
    <form id="form1" runat="server">
    <div class="content-box">
      <!-- Start Content Box -->
      <div class="content-box-header">
        <h3>音乐管理</h3>
       
        <div class="clear"></div>
      </div>
      <!-- End .content-box-header -->
     <div class="content-box-content">
        <div class="tab-content default-tab" id="tab1">
          <!-- This is the target div. id must match the href of this div's tab -->
          <div class="notification attention png_bg"> <a href="#" class="close"><img src="../css/admin/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
            <div>上传音乐,仅支持MP3格式音乐,大小在10M以内。</div>
          </div>
          
            <br />
          <asp:FileUpload ID="MusicUp" runat="server" Font-Size="Medium" />
            <asp:Label ID="LbNote" runat="server" ForeColor="#FF3300" Font-Bold="True" Font-Size="Medium"></asp:Label>
            <br />
            <br />
            <span class="auto-style1">歌曲名:</span><asp:TextBox ID="TextMusic" runat="server" Font-Size="Medium" ForeColor="Red"></asp:TextBox><span>(建议重命名方便识别上传的歌曲)</span>
            <br />
            <br />
            <asp:Button ID="BtUp" runat="server" OnClick="BtUp_Click" Text="上传音乐" />
        </div>
         <asp:GridView ID="GdMusic" runat="server" AutoGenerateColumns="False" 
                                 BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px" 
                                 CellPadding="2" ForeColor="Black" GridLines="None" Width="600px" 
                                 style="text-align: center" onrowdeleting="GdMusic_RowDeleting" >
                                 <AlternatingRowStyle BackColor="#CCCCCC" />
                                 <Columns>
                                     <asp:BoundField DataField="MusicID" HeaderText="ID" />
                                     <asp:BoundField DataField="MusicName" HeaderText="歌曲名" />
                                     <asp:BoundField DataField="MusicPath"  HeaderText="歌曲路径" />
                                     <asp:BoundField DataField="MusicTime" HeaderText="上传时间" />
                                     <asp:CommandField DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('你确定要删除?')&quot;&gt;删除&lt;/div&gt;" 
                          HeaderText="删除" ShowDeleteButton="True" InsertVisible="False" ShowCancelButton="False" />
                                 </Columns>
                                 <FooterStyle BackColor="#CCCCCC" />
                                 <HeaderStyle BackColor="Gray" Font-Bold="True" />

                             </asp:GridView>
      </div>
      <!-- End .content-box-content -->
    </div>
    <div id="footer"> <small>
      &#169; Copyright 2014 Honyer Blog | Designed by Honyer | <a href="#">Top</a> </small> </div>
        </form>
</asp:Content>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。