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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Vimal KandasamyRank #2,151 · 661 reputationPosted Apr 4, 2009, 3:30 AM EDT
you can use two things to disable editing...
1.set textbox1.ReadOnly=true;
2.Set textbox1.Enabled=false