日期:2014-05-18  浏览次数:20632 次

高手请进来帮忙,谢谢!
<asp:GridView   ID= "gvList "   runat= "server "   SkinID= "ArticalPages "   OnRowDataBound= "gvList_RowDataBound "
                AutoGenerateColumns= "False "   OnPageIndexChanging= "gvList_PageIndexChanging "   OnRowCreated= "gvList_RowCreated "
                OnSorting= "gvList_Sorting "   >
                              <Columns>
                        <asp:HyperLinkField   DataNavigateUrlFields= "Level1ID "   DataNavigateUrlFormatString= "~/Displays/Level1.aspx?ID={0} "
                                DataTextField= "Level1Name "   HeaderImageUrl= "~/images/fenlei.gif "   SortExpression= "Level1Name ">
                                <ItemStyle   CssClass= "DefaultLink "   HorizontalAlign= "Left "   />
                        </asp:HyperLinkField>
                                                <asp:HyperLinkField   DataNavigateUrlFields= "Level2ID "   DataNavigateUrlFormatString= "~/Displays/Level2.aspx?ID={0} "
                                DataTextField= "Level2Name "   HeaderImageUrl= "~/images/zifenlei.gif "   SortExpression= "Level2Name ">
                                <ItemStyle   CssClass= "DefaultLink "   HorizontalAlign= "Left "   />
                        </asp:HyperLinkField>
                                            <asp:HyperLinkField   DataNavigateUrlFields= "ID "   DataNavigateUrlFormatString= "~/Displays/Articals.aspx?ID={0} "
                                DataTextField= "Title "   HeaderImageUrl= "~/images/biaoti.gif "   SortExpression= "Title ">
                                <ItemStyle   CssClass= "DefaultLink "   HorizontalAlign= "Left "   />
                        </asp:HyperLinkField>
                                            <asp:BoundField   DataField= "hits "   HeaderImageUrl= "~/images/dianji.gif "   SortExpression= "hits ">