I have a checkbox in a panel.If I click in that checkBox it should be saved.Iam not knowing what should I use.Can anyone suggest me with the right code.Thanks in advance. Here is my code. my checkbox name is--check; my checkbox value is---checkvalue; my database key is----abc;
Boolean selected=checkvalue.getInt(boolean);
if(selected==null){
abc.setcheckValue(null);
}else{
abc.setcheckvalue(selected.getInt(boolean);
Here I want to use other code instead of getInt(boolean).Can anyone suggest