Skip to Content
0
Former Member
Dec 04, 2008 at 08:56 AM

retrive a value stored in SQL if checkboxgroup

26 Views

Hi,

I am trying to store some values in SQL of checked values of checkbox. it is in the format of "cricket,football, " like this

for this i have written code like this

for(int i=0;i<wdContext.nodeSport().size();i++)
		{			
			IPrivateEntryview.ISportElement ele=wdContext.nodeSport().getSportElementAt(i);
				IPrivateEntryview.ISportNode nade=wdContext.nodeSport();
				if(nade.isMultiSelected(i)){
				String batch="";
				batch=ele.getSport(); 
				name3+=batch+",";
				wdComponentAPI.getMessageManager().reportSuccess(name3);
		}	}

I want retrive that value and check the checkboxes depends on the value i retrive.

can any one tell me how to write the code for this.

Regards,

H.V.Swathi