posted 16 years ago
Hi,
ArrayList<PS_Department> UsersDept = serverFunc.adminLib.GetDepartmentsByCurrentUser();
int[] selectedDepts = new int[UsersDept.size()];
int i = 0;
for (PS_Department dept : UsersDept) {
selectedDepts[i]= dept.getID();
i++;
}
here
selectedDepts[i]=dept.getID();
Return me all the value as a selected value.But i want only those value which is selected.
how to got?Please help.