<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Upload_machine_CSV.aspx.cs" Inherits="CheckSheet.setting.Upload_machine_CSV" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %> 

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript" src="../Scripts/jquery-1.8.9.js"></script> 
    <script type="text/javascript" src="../Scripts/jquery-1.7.2.min.js"></script> 
    <script src="../Scripts/sweetalert2.all.min.js"></script>
    <link rel="stylesheet" type="text/css" href="../css/sweetalert2.min.css"/> 

    <script>
        $(document).ready(function () {



        });


        function uploadComplete2(sender, args) {





            swal(
           'Success',
           'Data saved successfully',
           'success'
           );




        }
    </script>
</head>
<body>
   

    <form id="form1" runat="server">
        <ajax:ToolkitScriptManager runat="server" ID="ToolkitScriptManager1" 
    ScriptMode="Release"  EnableScriptGlobalization="true" 
    EnableScriptLocalization="true" AsyncPostBackTimeout="0" >
    </ajax:ToolkitScriptManager> 

    <div>

         <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_upload" runat="server" CssClass="fontlabel"   Text="Upload CSV :" width="150px"></asp:Label>
                   
    <ajax:AsyncFileUpload ID="AsyncFileUpload2" runat="server" BackColor="#CCFF66" 
                    ClientIDMode="AutoID" CompleteBackColor="PeachPuff" 
                    OnUploadedComplete="AsyncFileUpload1_UploadComplete" 
                    UploaderStyle="Traditional" Width="200px" OnClientUploadComplete="uploadComplete2"/>
                    </label>
                    </span>
                  
                </div>
            </div>


    </div>
    </form>
</body>
</html>
