Hi,
how to make a textbox non editable. I mean the textbx should just display some precalculated value.
for ex:
suppose I select a year in a combobox the a textbox say age should just display the int value(age).
Hi,
how to make a textbox non editable. I mean the textbx should just display some precalculated value.
for ex:
suppose I select a year in a combobox the a textbox say age should just display the int value(age).
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Vimal KandasamyPosted Apr 4, 2009, 7:30 AM
you can use two things to disable editing...
1.set textbox1.ReadOnly=true;
2.Set textbox1.Enabled=false