<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
HorizontalAlign="Center" Width="100%" PageSize="18">
<Columns>
<asp:BoundField DataField="UF_BLESSING_ID" DataFormatString="{0:d}" HeaderText="福字编号" >
<HeaderStyle HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="UF_BLESSING_NAME" DataFormatString="{0:d}" HeaderText="祝福人" />
<asp:BoundField DataField="UF_BLESSING_CONTENT" DataFormatString="{0:d}" HeaderText="祝福语" />
<asp:BoundField DataField="UF_BLESSING_TIME" DataFormatString="{0:d}" HeaderText="祝福时间" />
</Columns>
<PagerTemplate>
共<asp:Label ID="Label1" runat="server" BackColor="Transparent" BorderColor="Transparent"
BorderStyle="None" Text="Label"></asp:Label>条祝福,分<asp:Label ID="Label2" runat="server"
BackColor="Transparent" BorderColor="Transparent" BorderStyle="None" Text="Label"></asp:Label>页显示,每页<asp:Label
ID="Label3" runat="server" BackColor="Transparent" BorderColor="Transparent"
BorderStyle="None" Text="Label"></asp:Label>条,<asp:LinkButton ID="LinkButton1" runat="server"
BackColor="Transparent" BorderColor="Transparent" BorderStyle="None" OnClick="LinkButton1_Click">[首页]</asp:LinkButton>
<asp:LinkButton ID="LinkButton2" runat="server" BackColor="Transparent" BorderColor="Transparent"
BorderStyle="None" OnClick="LinkButton2_Click">[上一页]</asp:LinkButton>
<asp:LinkButton ID="LinkButton3" runat="server" BackColor="Transparent" BorderColor="Transparent"
BorderStyle="None" OnClick="LinkButton3_Click">[1]</asp:LinkButton>
<asp:LinkButton ID="LinkButton4" runat="server" BackColor="Transparent" BorderColor="Transparent"
BorderStyle="None" OnClick="LinkButton4_Click">2</asp:LinkButton>
<asp:LinkButton ID="LinkButton5" runat="server" BackColor="Transparent" BorderColor="Transparent"
BorderStyle="None" OnClick="LinkButton5_Click">3</asp:LinkButton>
<asp:LinkButton ID="LinkButton6" runat="server" BackColor="Transparent" BorderColor="Transparent"
BorderStyle="None" OnClick="LinkButton6_Click">4</asp:LinkButton>
<asp:LinkButton ID="LinkButton7" runat="server" BackColor="Transparent" BorderColor="Transparent"
BorderStyle="None" OnClick="LinkButton7_Click">5</asp:LinkButton>
<asp:LinkButton ID="LinkButton8" runat="server" BackColor="Transparent" BorderColor="Transparent"
BorderStyle="None" OnClick="LinkButton8_Click">>></asp:LinkButton>
<asp:LinkButton ID="LinkButton9" runat="server" BackColor="Transparent" BorderColor="Transparent"
BorderStyle="None" OnClick="LinkButton9_Click">[下一页]</asp:LinkButton>
<asp:LinkButton ID="LinkButton10" runat="server" BackColor="Transparent" BorderColor="Transparent"
BorderStyle="None" OnClick="LinkButton10_Click">[尾页]</asp:LinkButton><a href="#"></a><a href="#"></a><a href="#"></a><a href="#"></a><a href="#"></a>
<asp:LinkButton ID="LinkButton11" runat="server">LinkButton</asp:LinkButton>
</PagerTemplate>
<PagerStyle Height="30px" HorizontalAlign="Right" VerticalAlign="Middle" />
<HeaderStyle Height="30px" HorizontalAlign="Center" VerticalAlign="Middle" />
<RowStyle Height="20px" />
</asp:GridView>
帮忙看下这个有问题没
运行后linkbutton不让点击