<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserExportData.aspx.cs" Inherits="Dotnet.Admin.User_Export_Data" %>
 <!DOCTYPE html> 
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
 <script src="../Javascript/jquery3.1.min.js"></script>
 <link href="../bootstrap/css/bootstrap.min.css" rel="stylesheet" />     
 <script src="../bootstrap/js/bootstrap.min.js"></script> 

</head>
<body style=" margin:30px;  text-align:center">
    <form id="form1" runat="server">
          <br /> 
        <asp:HiddenField runat="server" ID="hf_sql" />
 <h4>          <asp:Label runat="server" ID="lbl_title"></asp:Label></h4>

        <br /> 
    <div>
    单击如下按钮，导出数据。 <br /><br />
    </div>

    <div id="div1">
        <asp:Button ID="Button1" ClientIDMode="Static" CssClass="btn btn-success" runat="server" OnClick="Button1_Click" OnClientClick="setthis();" Text="导出Excel" />
    </div>

   <div id="div2" style="display:none">
     <asp:Button ID="Button2" ClientIDMode="Static"  CssClass="btn btn-default" runat="server" Text="数据导出中..." Enabled="false" />
       </div>
    
    <script>

        function setthis()
        {
            $("#div1").hide();
            $("#div2").show();
          
        }


    </script>
    
    </form>
</body>
</html>
