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.

Jaydeepsinh JadejaPosted Mar 20, 2013, 2:02 PM
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.
Violeta PopaPosted Mar 20, 2013, 2:27 PM
Violeta PopaPosted Mar 20, 2013, 1:50 PM
Jaydeepsinh JadejaPosted Mar 20, 2013, 1:36 PM