将response.write值传递给标签 [英] passing a response.write value to a label

查看:179
本文介绍了将response.write值传递给标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下子程序:

I have the following subroutine:

展开 | 选择 | Wrap | 行号

推荐答案

如果你有" durationLabel"在你的ASPX页面上:
If you have a "durationLabel" on your ASPX page:
展开 | 选择 | Wrap | 行号


Frinny,


如果我想要什么将该值显示在允许用户选择是或否的弹出窗口中,然后如果他们选择是,则将信息提交给sql server,如果他们选择no,则将其返回到网页以重新显示中心数据。


谢谢
Frinny,

What if I wanted to have that value show up in a popup window that would allow a user to select yes or no and then if they selected yes, it submits the information to the sql server and if they select no it takes them back to the web page to re-enter data.

Thank you


然后你需要实现那样做的JavaScript。

这将不能在你的C#代码中完成。


使用a JavaScript 确认弹出框
Then you need to implement JavaScript that will do that.
This will not be done in your C# code.

Use a JavaScript confirm popup box.


这篇关于将response.write值传递给标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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