![]() | RemLookupAddListItem Method |
Namespace: Paperwork.Connect
public a_GenericResult AddListItem( string listId, ListLookup item )
public void AddListItem() { string lst_name = "ILLER"; List<a_ListDef> getalllists = p.rPreset.Lists(lst_name); if (getalllists.Count == 0) throw new Exception("Liste bulunamadı"); ListLookup item = new ListLookup(); item.Key1 = "54"; item.Key2 = "Sakarya"; item.Key3 = string.Empty; item.Key4 = string.Empty; item.Key5 = string.Empty; a_GenericResult retval = p.rLookup.AddListItem(getalllists[0].Id, item); if (retval.ErrorCode != 0) throw new Exception(retval.Message); }