当我点击更新按钮时如何将我的不可编辑的Texbox设置为Editale [英] How To Meke My Non Editable Texbox To Editale When I Click On Update Button

查看:103
本文介绍了当我点击更新按钮时如何将我的不可编辑的Texbox设置为Editale的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个网格视图,我显示我的所有数据.grid有一个选择索引事件,所以当我选择按钮时,所选行数据将反映在一个文本框中在网格视图之外存在。文本框正确是Readonly =true。我有一个更新按钮,它出现在gridview之外。我想启用文本框从'只读'到'只写',即可编辑。如何我知道,请告诉我。?

Hi all,
I have a grid view where i show all my data .grid has a select index event,so when i select the button the selected row data ll be reflected in a textbox which is present outside the grid view.the text box proper was Readonly="true".I have a update button which is present outside gridview.I wanted to enable textbox from 'read only' to 'write only' ,i.e editable.How can I do,Please tell me.???

推荐答案

没有什么比只写了。您可以通过设置来启用编辑。 TextBox.ReadOnly属性 [ ^ ] to false
There is nothing like "write only". You can enable editing by seting TextBox.ReadOnly property[^] to false.


这篇关于当我点击更新按钮时如何将我的不可编辑的Texbox设置为Editale的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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