62,046
社区成员
发帖
与我相关
我的任务
分享
<asp:Repeater ID="RepeaterShow" runat="server" OnItemDataBound="RepeaterShow_ItemDataBound">
<HeaderTemplate>
<div style="overflow-x: auto; height: 600px;">
<table width="100%" class="tableselect" id="tableshow" align="center" border="1px"
style="text-align: center">
</HeaderTemplate>
<ItemTemplate>
<tr onmouseover="this.style.backgroundColor='#CCCCFF'" onmouseout="this.style.backgroundColor=''"
ondblclick="FN_UpdateFilePath(this,'',450,300)" value='<%#Eval("FileId") %>'>
<td width="5%">
<input id="item" type="checkbox" name="itemname" />
</td>
<td width="5%">
<%# Container.ItemIndex+1%>
</td>
<td name="td" width="15%">
<%#Eval("FileId") %>
</td>
<td width="20%">
<a value='<%#Eval("FilePath") %>' href='../FileOperation/DownFile.aspx?id=<%#Eval("FileId")%>'>
<%#Eval("FileNam")%></a>
</td>
<td width="10%">
<%#Eval("FileSize")%>
</td>
<td width="20%">
<%#Eval("Decription")%>
</td>
<td width="5%">
<%#DataBinder.Eval(Container.DataItem,"CreateOn","{0:d}") %>
</td>
<td width="5%">
<%#DataBinder.Eval(Container.DataItem, "ModefyOn", "{0:d}")%>
</td>
<td width="10%">
<img src="../img/winrar.gif" /><a value='<%#Eval("FilePath") %>' href='../FileOperation/DownFile.aspx?id=<%#Eval("FileId")%>'>下载</a>
<img src="../img/roledelete.gif" alt="删除该文件" />
<a id="deletefileid" value='<%#Eval("FileId") %>' onclick="FN_deletebyId(this)">删除</a>
<img src="../img/roleupdate.gif" alt="修改该文件" /><a id="updatefile" value='<%#Eval("FileId")%>'
onclick="FN_UpdateFilePath(this,'',450,300)">修改</a>
</td>
<td width="5%">
<input id="Hidden1" type="hidden" value='<%# Eval("FilePath") %>' />
<input id="Hidden2" type="hidden" value='<%# Eval("FolderId") %>' />
<input id="Hidden3" type="hidden" value='<%# Eval("CreateBy") %>' />
<input id="Hidden4" type="hidden" value='<%# Eval("ModefyBy") %>' />
<input id="Hidden5" type="hidden" value='<%# Eval("CreateOn") %>' />
<input id="Hidden6" type="hidden" value='<%# Eval("ModefyOn") %>' />
<input id="Hidden7" type="hidden" value='<%# Eval("FileId") %>' />
</td>
</tr>
</ItemTemplate>
<FooterTemplate>
</table> </div>
</FooterTemplate>
</asp:Repeater>
</ContentTemplate>
</asp:UpdatePanel>
<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<table width="100%" class="tableselect" id="table1" align="center" border="1px" style="text-align: center">
<tr class="title">
<th width="5%">
</th>
<th width="5%">
资源序号
</th>
<th width="15%">
资源编号
</th>
<th width="20%">
资源名称
</th>
<th width="10%">
资源大小
</th>
<th width="20%">
资源描述
</th>
<th width="5%">
创建时间
</th>
<th width="5%">
修改时间
</th>
<th width="10%">
相关操作
</th>
<th width="5%">
</th>
</tr>
</table>
<webdiyer:AspNetPager ID="pager1" runat="server" AlwaysShow="True" PageSize="30"
ShowBoxThreshold="10" ShowCustomInfoSection="Right" ShowNavigationToolTip="True"
CustomInfoHTML="共%PageCount%页,当前为第%CurrentPageIndex%页,每页%PageSize%条" ShowPageIndexBox="Always"
SubmitButtonText="Go" TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到" LayoutType="Table"
CustomInfoSectionWidth="30%" PagingButtonStyle="pages" CurrentPageButtonPosition="Beginning"
OnPageChanging="pager1_PageChanging" UrlPaging="True" PageIndexBoxType="DropDownList">
</webdiyer:AspNetPager>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="pager1" EventName="PageChanging" />
<asp:AsyncPostBackTrigger ControlID="pager1" EventName="Load" />
</Triggers>
</asp:UpdatePanel>
</form>