May 11th, 2006, 12:10 AM
#1
Thread Starter
Addicted Member
[RESOLVED] [02/03] how to display text box in ReadOnly mode
i want to make text box as Read only mode; if user is already in list. but if it's not then data can be entered in it. how can i do that? the value here is taken from database
i know; i should add "if/else stmt" but what about to show the value(i.e. text box value) in readonly mode??
Last edited by puresmile; May 11th, 2006 at 12:18 AM .
May 11th, 2006, 12:18 AM
#2
Addicted Member
Re: [02/03] how to display text box in ReadOnly mode
Originally Posted by
puresmile
i want to make text box as Read only mode; if user is already in list. but if it's not then data can be entered in it. how can i do that?
i know; i should add "if/else stmt" but what about to show the value(i.e. text box value) in readonly mode??
Hi puresmile,
i think you need to do something like this code...
hope this helps...
Regards,
=======================================
If I helped you, Kindly Rate my post. Thanks
-----------
PHENOM
May 11th, 2006, 10:03 AM
#3
Thread Starter
Addicted Member
Re: [02/03] how to display text box in ReadOnly mode
Originally Posted by
phenom
Hi puresmile,
i think you need to do something like this code...
hope this helps...
Regards,
something like this code
ReadOnly; is this part of VB.NET?
May 12th, 2006, 04:30 AM
#4
Re: [02/03] how to display text box in ReadOnly mode
Yes the textbox control has a ReadOnly property in .NET.
Attached Images
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width