登录名控制值 [英] loginname control value

查看:91
本文介绍了登录名控制值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..
有谁知道如何在文本框中获取登录名控件的值

登录后我正在使用loginname控件,它将显示用户的用户名.
现在,我想将该用户名值添加到文本框.

Hi..
does anyone know how to get loginname control value in textbox

I am using loginname control after login,where it will display the username of the user.
Now i want to get that username value to textbox.
How do i suppose to do that?

推荐答案

您是说您有一个控件,并且想将该控件中的值放入文本框吗?您是否尝试检查控件上的属性以设置文本框的Text属性?您是否曾经在C#或ASP.NET上阅读过任何书籍?我认为您应该考虑这样做.
Are you saying you have a control, and you want to put a value from that control in to a textbox ? Did you try checking the properties on your control, to set the Text property of the textbox ? Have you ever read any books on C# or ASP.NET ? I think you should consider doing so.


这篇关于登录名控制值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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