<%@ Page Language="C#" MasterPageFile="~/ListMasterPage.master" AutoEventWireup="true" CodeFile="AuthorSearchResult.aspx.cs" Inherits="AuthorSearchResult" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="bloger_name"
        DataSourceID="SqlDataSource1">
        <Columns>
            <asp:BoundField DataField="bloger_name" HeaderText="bloger_name" ReadOnly="True"
                SortExpression="bloger_name" Visible="False" />
            <asp:HyperLinkField DataNavigateUrlFields="bloger_name" DataNavigateUrlFormatString="LogView.aspx?bb={0}"
                DataTextField="bloger_title" HeaderText="该作者的博客" />
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:DesertEagleConnectionString %>"
        SelectCommand="SELECT [bloger_name], [bloger_title] FROM [DE_bloger] WHERE ([bloger_name] = @bloger_name)">
        <SelectParameters>
            <asp:QueryStringParameter Name="bloger_name" QueryStringField="bloger_name" Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>
</asp:Content>

