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

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <title>遗憾迟香音乐助手</title>
    <style type="text/css">
        .auto-style1 {
            width: 99%;
            height: 958px;
        }

        .auto-style2 {
            height: 225px;
        }

        .auto-style3 {
            width: 22px;
            height: 45px;
        }

        .auto-style4 {
            width: 82px;
            height: 45px;
        }

        #form1 {
            width: 352px;
        }

        .auto-style5 {
            height: 45px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div style="width: auto; height: auto;">
            <asp:DropDownList ID="cboSource" runat="server" Height="30px" Width="100px" BackColor="#6699FF">
            </asp:DropDownList>
            <asp:TextBox ID="txtWord" runat="server" Width="142px" BorderStyle="Solid" Height="35px" BorderWidth="1px"></asp:TextBox>
            <asp:Button ID="btnSearch" runat="server" Style="margin: 0px" Text="搜索" Width="93px" OnClick="btnSearch_Click" BackColor="#66CCFF" BorderStyle="None" Height="35px" />
            <asp:GridView ID="dgvMusic" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None" ShowHeaderWhenEmpty="True" Width="352px" Height="555px" Style="margin-top: 4px" AllowPaging="False" EnableModelValidation="True" PageSize="20" OnDataBinding="dgvMusic_DataBinding" OnRowCommand="dgvMusic_RowCommand" ShowHeader="False">
                <AlternatingRowStyle BackColor="White" />
                <Columns>
                    <asp:TemplateField>
                        <ItemTemplate>
                            <%# "曲名:"+ Eval("Name") %>
                            <br />
                            <%# "艺术家:"+Eval("Artist") %>
                            <br />
                            <%# "专辑:"+Eval("Album") %>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:ButtonField CommandName="play" Text="播放" />
                    <asp:ButtonField CommandName="detail" Text="详情" />
                </Columns>
                <EditRowStyle BackColor="#2461BF" />
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#EFF3FB" />
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            </asp:GridView>
        </div>
        <a href='https://www.landui.com' target='_blank'>服务器提供商：蓝队云</a>
    </form>
</body>
</html>
