Click here to Skip to main content
16,021,209 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi dears.
I have 2 checkbox in my form. I want if user checked checkbox1 the checkbox2 be uncheck,and if user checked checkbox2 the checkbox1 be unchecked.
Posted

hi, you can also use the RadioButtonList
 
Share this answer
 
C#
If (CheckBox1.Checked)
CheckBox2.Checked=false;
if (CheckBox2.Checked)
CheckBox1.Checked=false;
 
Share this answer
 
Comments
[no name] 4-Aug-12 8:53am    
perfactttt
siasalar 5-Aug-12 1:37am    
Thanks alot dude
Santhosh Kumar Jayaraman 5-Aug-12 1:39am    
welcome

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900