<%@ Page Language="C#" MasterPageFile="~/webUser/MasterPage.master" EnableViewState="false" AutoEventWireup="true" CodeBehind="myFavorite.aspx.cs" Inherits="ZYDN.Web.webUser.myFavorite" Title="无标题页" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Content1" runat="server">



<form id="form1" name="form1" runat="server">
        <div class="maxTitle">
            我的收藏
        </div>
        
       
        <asp:GridView ID="myFav" runat="server" BorderWidth="0px" Width="100%" AutoGenerateColumns="False" DataKeyNames="ID"
            AllowPaging="True" PageSize="20" OnSelectedIndexChanged="myFav_SelectedIndexChanged" OnRowDeleting="delRow" >
            <Columns>
                <asp:BoundField DataField="fType" SortExpression="fType" HeaderText="类型">
                    <ItemStyle CssClass="bodyDiv"></ItemStyle>
                    <HeaderStyle Width="120px" CssClass="titleLeft"></HeaderStyle>
                </asp:BoundField>
                <asp:HyperLinkField Target="_blank" HeaderText="名称" DataTextField="vText" DataNavigateUrlFormatString="gotoFile.aspx?tab={1}&amp;tabid={0}&amp;fType={2}"
                    DataNavigateUrlFields="tabid,tabname,fType">
                    <ItemStyle CssClass="bodyDiv"></ItemStyle>
                    <HeaderStyle CssClass="titleLeft"></HeaderStyle>
                </asp:HyperLinkField>
                <asp:BoundField HtmlEncode="False" DataFormatString="{0:d}" DataField="createDate"
                    SortExpression="createDate" HeaderText="收藏日期">
                    <ItemStyle CssClass="bodyDiv"></ItemStyle>
                    <HeaderStyle Width="80px" CssClass="titleLeft"></HeaderStyle>
                </asp:BoundField>
                <asp:CommandField ShowDeleteButton="True">
                    <HeaderStyle CssClass="titleRight" Width="80px" />
                </asp:CommandField>
            </Columns>
            <PagerSettings FirstPageText="第一页" LastPageText="最后页" Mode="NextPreviousFirstLast"
                NextPageText="下一页" PreviousPageText="上一页" />
            <RowStyle BackColor="#F4F9FD" />
            <PagerStyle BackColor="WhiteSmoke" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
   
    </form>



</asp:Content>
