如何在消息框中显示返回值? [英] how to show return Value in message box?

查看:102
本文介绍了如何在消息框中显示返回值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友我正在为每个图书条目创建新的ID ...所以我想在消息框中向客户端显示图书ID ...怎么办?

谢谢....

解决方案

string v = lblbookid.Text;

msg.ShowAlert(book id is + v + your selected);



以上是你必须写的课程



改为使用这个



 Response.Write( < script> ;警告('图书ID   + v +您选择的 ')< /脚本>中); 


friends i am creating new id for every book entry...so i want to show the book id to client in message box...how to do?
thank you....

解决方案

string v=lblbookid.Text;
msg.ShowAlert("The book id is + v + your selected");

the above one is u have to write class

instead use this

Response.Write("<script > alert('"the book id is + v + your selected"')</script>");


这篇关于如何在消息框中显示返回值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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