Deepak Sharma

Deepak Sharma

  • NA
  • 143
  • 10.3k

How to Desable the Textbox

Apr 8 2017 1:38 AM
Hi
 
I have a windows form in that form there are 14 fields
 
date                     date
customer id         textbox
customer Name   textbox
Invoice No            textbox
payment Mode      checkbox(Cash,cheque,online)
cheque no            textbox
bank name            textbox
branch                  textbox
clearance date      date
cheque status      combobox
transaction no      textbox
total amount         textbox
Paid Amount         textbox
Remaining Amount textbox
 
when I select checkbox(Cash) need to disable  this filed
 
cheque no            textbox
bank name            textbox
branch                  textbox
clearance date      date
cheque status      combobox
transaction no      textbox
 
 
and when I select checkbox(Online) need to disable
 
cheque no            textbox
clearance date      date
cheque status      combobox
 
and when I select checkbox(cheque)
 
all the field will be appear
how I can do this...please help me
 

Answers (3)