<%@ Page Language="VB" %>
<html>
<head>
    <title>Music Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:Your_dbConnectionString %>" 
            SelectCommand="SELECT [id], [Title], [Filename], [Genre], [Author] FROM [SongTest]">
            </asp:SqlDataSource>
        <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True"
            AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
            <Columns>
                <asp:BoundField DataField="id" HeaderText="id" InsertVisible="False" ReadOnly="True"
                    SortExpression="id" />
                <asp:BoundField DataField="Title" HeaderText="Title" SortExpression="Title" />
                <asp:BoundField DataField="Genre" HeaderText="Genre" SortExpression="Genre" />
                <asp:BoundField DataField="Author" HeaderText="Author" SortExpression="Author" />
                <asp:HyperLinkField DataNavigateUrlFields="Filename" 
                    DataNavigateUrlFormatString="http://YourPath/{0}.mp3"
                    DataTextField="Filename" DataTextFormatString="Get it Now" HeaderText="Download"
                    Target="_blank" />
            </Columns>
        </asp:GridView>
    
    </div>
    </form>
</body>
</html>
