标准消息格式 [英] Standard Message Format

查看:103
本文介绍了标准消息格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家早上好:)

如何为Web应用程序成功完成Button_click之后编写用于消息的标准显示的代码?

对于Windows应用程序,它是这样的吗?
MessageBox.Show(记录已保存",报告",MessageBoxButtons.OK,MessageBoxIcon.Information);


我是Web应用程序的新手,请帮助!!! :)

Guys Good Morning :)

How to write a Code for Standard Display of Message After a Button_click Success for Web Application?

For Windows application it goes like this?
MessageBox.Show("Record Saved", "Report", MessageBoxButtons.OK, MessageBoxIcon.Information);


I am new to web application please help!!! :)

推荐答案

请参见以下示例:-

see this Example:-

protected void BtnSave_Click(object sender, EventArgs e)
    {
savedata();
ScriptManager.RegisterStartupScript(Page, GetType(), "JsFunction", "Alert('Record Saved');", true);
}


这篇关于标准消息格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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