String[] getString_fromUI(Object[] iob)
{
	Generals kiboo = new Generals();
	String[] rdt = new String[iob.length];
	for(int i=0; i<iob.length; i++)
	{
		rdt[i] = "";
		try
		{
			if(iob[i] instanceof Textbox)
			{
				Textbox kk = (Textbox)iob[i];
				rdt[i] = kiboo.replaceSingleQuotes(kk.getValue().trim());
			}

			if(iob[i] instanceof Label)
			{
				Label kk = (Label)iob[i];
				rdt[i] = kiboo.replaceSingleQuotes(kk.getValue().trim());
			}

			if(iob[i] instanceof Listbox)
			{
				Listbox kk = (Listbox)iob[i];
				rdt[i] = kk.getSelectedItem().getLabel();
			}

			if(iob[i] instanceof Datebox)
			{
				Datebox kk = (Datebox)iob[i];
				rdt[i] = dtf2.format( kk.getValue() );
			}

			if(iob[i] instanceof Checkbox)
			{
				Checkbox kk = (Checkbox)iob[i];
				rdt[i] = (kk.isChecked()) ? "1" : "0";
			}
		}
		catch (Exception e) {}
	}
	return rdt;
}