📌  相关文章
📜  如何在 C# 代码示例中执行脚本

📅  最后修改于: 2022-03-11 14:49:18.884000             🧑  作者: Mango

代码示例1
By LOVE

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);