Switch statement
hi:) I have a form that includes a groupbox with 5 checkboxes..and I want to search in my gridview by the checked checkboxes..I've been thinking about a switch case statement, but I don't know what should be switched :-? i need some help :) tnks.
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Jaydeepsinh Jadeja46 reputationPosted Mar 20, 2013, 10:02 AM EDT
I understand First set checkbox value like 1,2.Then put switch case
Switch(int value)
{
Case 1: 12
Grid value =what you want
Dropdown value=what you want
Case 2:13
.
.
}
Like this you can do you code.
If you still not getting attach your code i will solve.
Jaydeepsinh Jadeja46 reputationPosted Mar 20, 2013, 9:36 AM EDT
Violeta Popa132 reputationPosted Mar 20, 2013, 9:50 AM EDT
Violeta Popa132 reputationPosted Mar 20, 2013, 10:27 AM EDT