如何使用C#插入成功后,显示警告框 [英] how to show alert box after successful insert using C#

查看:140
本文介绍了如何使用C#插入成功后,显示警告框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的细节视图,并想在我的code的到底哪里插入完成后显示一个警告框。有一种简单的方式来显示某种警告框,上面写着谢谢你的数据已成功插入

i am using detail-view and would like to show an alert box at the end of my code where the insert is complete. Is there an easy way to show some kind of alert box that says " thank you data has been inserted successfully"

推荐答案

插入code后,

ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "alertMessage", "alert('Record Inserted Successfully')", true);

这篇关于如何使用C#插入成功后,显示警告框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆