获取标签的值从HttpContext.Current.Request [英] Getting the value of a label from HttpContext.Current.Request

查看:648
本文介绍了获取标签的值从HttpContext.Current.Request的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个标签在我的形式,和IM试图让使用HttpContext.Current.Request标签的价值。但标签未诠释,他的钥匙,只有输入类型。
有检索标签的值的方法吗?

i have a label in my form, and im trying to get the value of the label using HttpContext.Current.Request. But the label is not int he key, only the input types. is there any way of retrieving the value of a label?

您好

请求[LBL1]不工作。

Request["lbl1"] doesnt work.

推荐答案

您不能要求收集获取标签值。

you cannot get label values from request collection.

文本框,下拉框,复选框,单选按钮,列表框,并可根据要求收集访问。

Textboxes, Dropdowns, checkboxes, radiobuttons, Listboxes can be accessed by request collection.

这篇关于获取标签的值从HttpContext.Current.Request的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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