Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hi All,
How to make the textbox writeonly in c#. I am creating a form.
Thanks in Advance.
----M.ARUN
Posted
Updated 14-Mar-11 21:16pm
v2
Comments
[no name] 15-Mar-11 2:51am    
Are you speaking about Readonly Textbox?
Sergey Alexandrovich Kryukov 15-Mar-11 3:00am    
You will be laughing... but not. :<
--SA
Sandeep Mewara 15-Mar-11 4:31am    
Elaborate "writeonly"
Toli Cuturicu 15-Mar-11 9:13am    
Absurdity | Joke

A "writeonly" textbox does not make very much sense. If you want to make it "readonly", you could set its Enabled property to false.
 
Share this answer
 
Comments
arunmj 15-Mar-11 2:51am    
no ,, i made my first textbox as readonly ....i want to make it writeonly,,,
JF2015 15-Mar-11 2:53am    
Writeonly is useless. Why write something in a textbox if nobody can see it. And if nobody can see it, how are the users supposed to write something into it?
Sergey Alexandrovich Kryukov 15-Mar-11 2:59am    
Did you see other questions? ...sigh... I don't see why wasting time...
--SA
Sergey Alexandrovich Kryukov 15-Mar-11 2:56am    
Want to talk about it?
--SA
Sergey Alexandrovich Kryukov 15-Mar-11 2:55am    
Correct :-) :-) a 5.
--SA
textbox are only meant to write something in that...are you talking about readonly???
 
Share this answer
 
Comments
arunmj 15-Mar-11 2:50am    
no ,, i made my first textbox as readonly ....i want to make it writeonly,,,
arunmj 15-Mar-11 4:42am    
thanks for the help ... i got it ,, i mad e it readonly

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900