BatchExport2.aspx 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <%@ Page Language="C#" Debug="true" EnableEventValidation="false" AutoEventWireup="true" CodeFile="BatchExport2.aspx.cs" Inherits="Admin_BatchExport2" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head runat="server">
  5. <title></title>
  6. <style type="text/css">
  7. table {
  8. font-size: 12px;
  9. color: #063E7B;
  10. }
  11. table
  12. {box-shadow:#859CAD 3px 3px;
  13. border-radius:10px;
  14. }
  15. .Input3 {
  16. font-family: "宋体";
  17. font-size: 9pt;
  18. color: #0066CC;
  19. text-decoration: none;
  20. border-top-width: 1px;
  21. border-right-width: 1px;
  22. border-bottom-width: 1px;
  23. border-left-width: 1px;
  24. border-top-style: solid;
  25. border-right-style: solid;
  26. border-bottom-style: solid;
  27. border-left-style: solid;
  28. border-top-color: #FFFFFF;
  29. border-right-color: #FFFFFF;
  30. border-bottom-color: #0066CC;
  31. border-left-color: #FFFFFF;
  32. }
  33. input {
  34. background-color: #EEFAFF;
  35. border-top-color: #C6DCFB;
  36. border-right-color: #C6DCFB;
  37. border-bottom-color: #C6DCFB;
  38. border-left-color: #C6DCFB;
  39. }
  40. Select {
  41. font-family: "Tahoma", "宋体";
  42. font-size: 9pt;
  43. color: #0066cc;
  44. border: 1px #c8e4ff solid;
  45. background-color: #e8f4ff;
  46. font-style: normal
  47. }
  48. .style2
  49. {
  50. height: 39px;
  51. }
  52. .style3
  53. {
  54. height: 17px;
  55. }
  56. </style>
  57. </head>
  58. <body>
  59. <form id="form1" runat="server">
  60. <div>
  61. <table width='96%' height='111' border='1' align="center" cellspacing='1' bordercolor="#C1E7FD" bgcolor="#F4FCFF">
  62. <!--DWLayoutTable-->
  63. <tr bgcolor="#E2F2FC" >
  64. <td height='33' align="center">
  65. <font color="#FF0000" size="4" face="黑体">数据导出功能--执行导出</font> </td>
  66. </tr>
  67. <tr>
  68. <TD><!--DWLayoutEmptyCell-->
  69. &nbsp;&nbsp;<asp:Button id="Button2" runat="server"
  70. Text="预览要导出的数据" Width="120px" OnClick="Button2_Click"></asp:Button>
  71. <asp:button id="Button1" runat="server"
  72. Text="导出为WORD文档" Width="128px" OnClick="Button1_Click"></asp:button>&nbsp;
  73. <asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="导出为EXCEL文件"
  74. Width="144px" />
  75. <div style="margin: 0 auto;" id="mainContent">
  76. <asp:datagrid id="DataGrid1" runat="server"
  77. Width="100%" BorderColor="#3366CC" BorderStyle="Double" BackColor="White"
  78. CellPadding="4" Font-Size="12pt">
  79. <AlternatingItemStyle BorderColor="Black" BorderStyle="Inset" />
  80. <EditItemStyle BorderStyle="Inset" BorderWidth="1px" />
  81. <FooterStyle ForeColor="#003399" BackColor="#99CCCC"></FooterStyle>
  82. <SelectedItemStyle Font-Bold="True" ForeColor="#CCFF99" BackColor="#009999"></SelectedItemStyle>
  83. <ItemStyle ForeColor="#003399" BackColor="White" BorderColor="#030237"
  84. BorderStyle="Inset"></ItemStyle>
  85. <HeaderStyle Font-Bold="True" ForeColor="#CCCCFF" BackColor="#003399"
  86. BorderStyle="Inset" BorderWidth="1px"></HeaderStyle>
  87. <PagerStyle HorizontalAlign="Left" ForeColor="#003399" BackColor="#99CCCC"
  88. BorderColor="#2E699E" BorderStyle="Double" BorderWidth="1px"
  89. Mode="NumericPages"></PagerStyle>
  90. </asp:datagrid>
  91. </div>
  92. </TD>
  93. </tr>
  94. <tr>
  95. <TD class="style3" align="left">
  96. &nbsp;</TD>
  97. </tr>
  98. <tr align='center'>
  99. <td align='center' valign='middle' class="style2">
  100. &nbsp;
  101. &nbsp;</td>
  102. </tr>
  103. </table>
  104. </div>
  105. </form>
  106. </body>
  107. </html>