<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>Copy
ClientScript.RegisterClientScriptBlock(this.GetType(), "alert",
"swal('Error!', 'You clicked Error button!', 'error')", true);Copy
ClientScript.RegisterClientScriptBlock(this.GetType(), "alert",
"swal('Good job!', 'You clicked Success button!', 'success')",true);Copy
ClientScript.RegisterClientScriptBlock(this.GetType(), "alert",
"swal('Information!', 'You clicked Info button!', 'info')", true);Copy
ClientScript.RegisterClientScriptBlock(this.GetType(), "alert",
"swal('Warning!', 'You clicked Warning button!', 'warning')", true);Copy