private void SaveObject(Object param) { System.Collections.IList items = (System.Collections.IList)param; if (items.Count != 0) { var collection = items.Cast <String>(); exp.Add(); foreach (var item in collection) { exp_cat.NewItem(item); } } }