我无法访问C#codebehind中的asp文本字段值 [英] I cannot access the asp text field values in C# codebehind

查看:62
本文介绍了我无法访问C#codebehind中的asp文本字段值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否存在可能阻止代码隐藏中的文本字段值的javascript文件

这是我的示例代码

I am wondering if there is a javascript file that may be blocking the textfield values in the codebehind
this is my sample code

<asp:TextBox id="myID" runat="server" ></asp:asp:TextBox>




代码后的


$
label1.Text ="" + myID.Text;
$


ID label1永远不会设置为

有没有人见过这个?我需要你的帮助!!

提前致谢!!


at the codehind

label1.Text=""+myID.Text;

The ID label1 is never set to
Did anyone ever experience this? please I need your help!!
Thanks in advance!!

推荐答案

你应该在asp.net论坛上询问asp,net问题以获得更好的支持。

You should ask asp,net questions in the asp.net forums for better support.

这在论坛顶部用粘性解释。

This is explained in a sticky at the top of the forum.

我会移动您的主题但不幸的是asp.net使用不同的平台。

I would move your thread but unfortunately asp.net use a different platform.

https:/ /forums.asp.net/

话虽如此。

I会坚持一个断点并检查你得到的东西。

I would stick a break point in and examine what you're getting.

我没有足够的代码告诉你哪里,所以当你发布你的问题时,我建议你发布更多的代码。

There isn't enough code there for me to tell you where so when you post your question I recommend you post more code.

祝你好运。


这篇关于我无法访问C#codebehind中的asp文本字段值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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