Click here to Skip to main content
15,891,567 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Private void GetDetails()
(
//i written the code here
}


Private void CourseDetails()
{
//i written the code here
}


i have two check box as check box1 and check box2


I have one Button called Show

i show button i have to written the code as follows

if check box1 true means call the GetDetails
if check box2 true means call the CourseDetails.

for that how can i write the code in asp.net using C#.


note it is web application.

Regards,
Narasiman P.
Posted

1 solution

On Check box checked event, find out which checkbox was checked and call your function accordingly.
 
Share this answer
 

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