<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ManageList.aspx.cs" Inherits="CY.WebForm.Pages.soft.ManageList" %>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
<head id="Head1" runat="server">
|
<title>软件管理列表</title>
|
<uc:CMSHead ID="CMSHead1" runat="server" />
|
<script type="text/javascript">
|
//添加
|
function addModel() {
|
top.Dialog.open({ URL: "/Pages/soft/ManageAdd.aspx", Title: "新增软件", Width: 500, Height: 180 });
|
}
|
|
//修改
|
function EditModel(keyid) {
|
top.Dialog.open({ URL: "/Pages/soft/ManageAdd.aspx?keyid=" + keyid, Title: "修改软件", Width: 500, Height: 180 });
|
}
|
</script>
|
</head>
|
<body>
|
<form id="form1" runat="server">
|
<div id="scrollContent">
|
<div class="box_tool_min ">
|
<div class="center">
|
<div class="left">
|
<div class="right">
|
<div class="padding_top5 padding_left10">
|
<a href="javascript:;" onclick="addModel()" menu_member_case_id="case_addModel" menu_member_case_name="新增软件"><span class="icon_add">新增软件</span></a>
|
<div class="clear">
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
<div class="clear">
|
</div>
|
</div>
|
<div>
|
<asp:Repeater ID="RepClientList" runat="server">
|
<HeaderTemplate>
|
<table class="tableStyle">
|
<tr>
|
<th width="25">
|
</th>
|
<th width="30" style="text-align: center">
|
编号
|
</th>
|
</th>
|
<th style="text-align: center">
|
软件名称
|
</th>
|
<th style="text-align: center">
|
软件标识码
|
</th>
|
<th style="text-align: center">
|
软件价格
|
</th>
|
<th style="text-align: center">
|
更新时间
|
</th>
|
<th style="text-align: center">
|
操作
|
</th>
|
</tr>
|
</HeaderTemplate>
|
<ItemTemplate>
|
<tr>
|
<td>
|
<input type="checkbox" value='<%#Eval("Keyid")%>' />
|
</td>
|
<td style="text-align: center">
|
<%#Container.ItemIndex + 1+ this.UCPager1.PageSize * (this.UCPager1.PageIndex - 1)%>
|
</td>
|
<td style="text-align: center">
|
<%#Eval("SoftName")%>
|
</td>
|
<td style="text-align: center">
|
<%#Eval("SoftContent")%>
|
</td>
|
<td style="text-align: center">
|
<%#Eval("SoftPrice")%>(元)
|
</td>
|
<td style="text-align: center">
|
<%#Eval("LastUpdateTime","{0:yyyy-MM-dd}")%>
|
</td>
|
<td class="Operate " style="text-align: center">
|
<span menu_member_case_id="case_OnEdit" menu_member_case_name="修改" onclick="EditModel('<%#Eval("Keyid")%>')">修改</span>
|
</td>
|
</tr>
|
</ItemTemplate>
|
<FooterTemplate>
|
</table>
|
</FooterTemplate>
|
</asp:Repeater>
|
<div id="page">
|
<uc:UCPager ID="UCPager1" runat="server" />
|
</div>
|
</div>
|
</div>
|
</form>
|
</body>
|
</html>
|