ManageStyle.aspx
上传用户:cha0314
上传日期:2014-03-02
资源大小:12522k
文件大小:4k
源码类别:

C#编程

开发平台:

C#

  1. <%@ Page language="c#" Codebehind="ManageStyle.aspx.cs" AutoEventWireup="false" Inherits="UDS.SubModule.UnitiveDocument.DocumentFlow.ManageStyle" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4. <HEAD>
  5. <title>ManageStyle</title>
  6. <meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
  7. <meta content="C#" name="CODE_LANGUAGE">
  8. <meta content="JavaScript" name="vs_defaultClientScript">
  9. <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
  10. <LINK href="../../../Css/BasicLayout.css" type="text/css" rel="stylesheet">
  11. <script language="javascript">
  12. function delete_confirm(e) {
  13. if (event.srcElement.outerText == "删除")
  14. event.returnValue =confirm("您确认要删除?");
  15. }
  16. document.onclick=delete_confirm;
  17. </script>
  18. </HEAD>
  19. <body MS_POSITIONING="GridLayout" leftmargin="0" rightmargin="0">
  20. <form id="ManageStyle" method="post" runat="server">
  21. &nbsp;
  22. <TABLE id="Table1" style="Z-INDEX: 105; LEFT: 0px; POSITION: absolute; TOP: 0px" cellSpacing="0"
  23. cellPadding="1" width="100%" border="0">
  24. <TR>
  25. <td align="left" style="HEIGHT: 30px" background="../../../Images/treetopbg.jpg"><span style="FONT-SIZE:10pt">表单管理</span></td>
  26. <TD align="right" style="HEIGHT: 30px" background="../../../Images/treetopbg.jpg"><asp:button id="cmdNewStyle" runat="server" CssClass="redbuttoncss" Text="新增表单"></asp:button><INPUT class="redbuttoncss" style="WIDTH: 71px" onclick="location.href='Listview.aspx';"
  27. type="button" value="返回"></TD>
  28. </TR>
  29. <TR>
  30. <TD vAlign="top" colspan="2"><FONT face="宋体"></FONT><FONT face="宋体"><asp:datagrid id="dgStyleList" runat="server" Width="100%" Font-Size="X-Small" PageSize="15" OnPageIndexChanged="DataGrid_PageChanged"
  31. AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataKeyField="Style_ID" BorderColor="#93BEE2" BorderStyle="None" BorderWidth="1px"
  32. BackColor="White" CellPadding="3" OnDeleteCommand="MyDataGrid_Delete">
  33. <SelectedItemStyle Font-Bold="True" ForeColor="#CCFF99" BackColor="#009999"></SelectedItemStyle>
  34. <AlternatingItemStyle Font-Size="X-Small" BackColor="#E8F4FF"></AlternatingItemStyle>
  35. <ItemStyle Font-Size="X-Small" ForeColor="#003399" BackColor="White"></ItemStyle>
  36. <HeaderStyle Font-Bold="True" HorizontalAlign="Left" ForeColor="White" VerticalAlign="Middle"
  37. BackColor="#337FB2"></HeaderStyle>
  38. <FooterStyle ForeColor="#003399" BackColor="#99CCCC"></FooterStyle>
  39. <Columns>
  40. <asp:TemplateColumn HeaderText="ID">
  41. <HeaderStyle Width="2%"></HeaderStyle>
  42. <ItemTemplate>
  43. <asp:CheckBox id="cboStyleID" runat="server"></asp:CheckBox>
  44. </ItemTemplate>
  45. </asp:TemplateColumn>
  46. <asp:HyperLinkColumn DataNavigateUrlField="Style_ID" DataNavigateUrlFormatString="EditStyle.aspx?StyleID={0}"
  47. DataTextField="Style_Name" HeaderText="表单名">
  48. <HeaderStyle Font-Size="X-Small" Width="20%"></HeaderStyle>
  49. <ItemStyle Font-Size="X-Small"></ItemStyle>
  50. </asp:HyperLinkColumn>
  51. <asp:BoundColumn DataField="Style_Remark" HeaderText="表单介绍">
  52. <HeaderStyle Width="40%"></HeaderStyle>
  53. </asp:BoundColumn>
  54. <asp:BoundColumn DataField="Template" HeaderText="模板">
  55. <HeaderStyle HorizontalAlign="Left" Width="25%"></HeaderStyle>
  56. <ItemStyle HorizontalAlign="Left"></ItemStyle>
  57. <FooterStyle HorizontalAlign="Left"></FooterStyle>
  58. </asp:BoundColumn>
  59. <asp:HyperLinkColumn Text="管理" DataNavigateUrlField="Style_ID" DataNavigateUrlFormatString="DefineStyle.aspx?StyleID={0}"
  60. HeaderText="管理">
  61. <HeaderStyle HorizontalAlign="Center" Width="6%"></HeaderStyle>
  62. <ItemStyle HorizontalAlign="Center"></ItemStyle>
  63. </asp:HyperLinkColumn>
  64. <asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete">
  65. <HeaderStyle HorizontalAlign="Center" Width="5%"></HeaderStyle>
  66. <ItemStyle HorizontalAlign="Center"></ItemStyle>
  67. </asp:ButtonColumn>
  68. </Columns>
  69. <PagerStyle NextPageText="" HorizontalAlign="Right" BackColor="#E8F4FF" Mode="NumericPages"></PagerStyle>
  70. </asp:datagrid></FONT></TD>
  71. </TR>
  72. </TABLE>
  73. </form>
  74. </body>
  75. </HTML>