📅  最后修改于: 2022-03-11 14:48:16.699000             🧑  作者: Mango
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);