📅  最后修改于: 2022-03-11 14:49:08.391000             🧑  作者: Mango
BY LOVE, At the place of swal , you can use alert() function also.
int NumberOfRows = oRSEntities.Menu_Item.Count();
string message = $" {NumberOfRows} Records saved successfully.";
string script = "window.onload = function(){ swal('";
script += message;
script += "')};";
ClientScript.RegisterStartupScript(this.GetType(), "SuccessMessage", script, true);