SysManageProject.aspx
上传用户:tiancihang
上传日期:2014-03-12
资源大小:21387k
文件大小:4k
- <%@ page language="C#" autoeventwireup="true" inherits="SysManage_SysManageProject, App_Web_rlki_npp" theme="Normal" %>
- <!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 runat="server">
- <title>无标题页</title>
- <script language="javascript">
- function modelesswin(url,mwidth,mheight)
- {
- if (document.all&&window.print)
- {
- window.showModalDialog(url,"",'help:0;dialogWidth:'+mwidth+'px;dialogHeight:'+mheight+'px,location=no, status=no;');
- window.location.reload();
- }
- }
-
-
- </script>
- </head>
- <body>
- <form id="form1" runat="server">
-
- <TABLE width="100%" border="0" cellPadding="0" cellSpacing="0" >
- <tr>
- <td bgColor="#f7f7f7" width="100%" height="25px">
- <strong> 项 目 分 类 </strong>
- </td>
- </tr>
- <tr>
- <td background="../Images/toolbarbg.jpg" height="25">
- <img src="../Images/add.gif" height="15" align="absmiddle">
-
- <a href="javascript: modelesswin('ProjectAdd.aspx',420,350)">新建项目</a>
-
- </td>
- </tr>
- <tr>
- <td width="100%">
- <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" DataKeyNames="SerialID" OnRowDataBound="GridView1_RowDataBound" Width="100%"
- OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing"
- HeaderStyle-ForeColor="black" HeaderStyle-Font-Size="12px" HeaderStyle-Font-Underline="false" AllowPaging="True" AllowSorting="True"
- PageSize="10" OnSorting="GridView1_Sorting" OnPageIndexChanging="GridView1_PageIndexChanging">
- <Columns>
- <asp:BoundField DataField="SerialName" HeaderText="项目名称">
- <HeaderStyle Width="25%"/>
- </asp:BoundField>
- <asp:BoundField DataField="" HeaderText="描 述">
- <HeaderStyle Width="45%"/>
- </asp:BoundField>
- <asp:TemplateField HeaderText="操 作">
- <ItemTemplate>
- <asp:ImageButton ID="IB_Edit" ToolTip="编辑" runat="server" CommandName="edit" ImageUrl="~/Images/s_edit.gif"/>
- <asp:ImageButton ToolTip="删除" ID="IB_Del" runat="server" CommandName="Delete" ImageUrl="~/Images/s-del.gif"
- OnClientClick='<%#"return confirm("确认删除项目名称为『"+Eval("SerialName")+"』的记录吗?");" %>'/>
- </ItemTemplate>
- <HeaderStyle Width="10%" HorizontalAlign="Center"/>
- <ItemStyle HorizontalAlign="Left" BorderWidth="0px"/>
- </asp:TemplateField>
-
- </Columns>
- <PagerStyle ForeColor="#8C4510" BackColor="#f5f5f5" HorizontalAlign="Center"></PagerStyle>
- <PagerSettings FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" PreviousPageText="上一页" Mode="NextPreviousFirstLast" />
-
- <EmptyDataTemplate>
- <center> 系统提示:请输入查询条件,也可以新增用户数据。</center>
- </EmptyDataTemplate>
- </asp:GridView>
-
- </td>
- </tr>
-
- </TABLE>
-
- </form>
- </body>
- </html>