[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??
Re: [02/03] how to display text box in ReadOnly mode
Quote:
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,
Re: [02/03] how to display text box in ReadOnly mode
Quote:
Originally Posted by phenom
Hi puresmile,
i think you need to do something like this code...
hope this helps...
Regards,
something like this code :confused:
ReadOnly; is this part of VB.NET?
1 Attachment(s)
Re: [02/03] how to display text box in ReadOnly mode
Yes the textbox control has a ReadOnly property in .NET.