隐藏文本框以进行更改 [英] hiding textbox to make change

查看:70
本文介绍了隐藏文本框以进行更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想隐藏文本框:

授权用户只更改少数文本框而不是全部,并且其他文本框将被锁定.locked表示用户dnot具有更新该文本框的autority

i want to hide textboxes:
give authority to user to change only few textboxes not all, and rest textboxes will be locked .locked means user dnot have autority to update that textbox

推荐答案

Wich文本框你不想更新Do Enabled fals;

Wich textbox U don't want to update Do Enabled fals ;
txtAdd1.Enabled = false;





你也可以隐藏起来像



And u can hide also like

txtBox.Visible = false;





你也可以将它用作aspx文件中的属性。



and u can also use it as a property in aspx file.


这篇关于隐藏文本框以进行更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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