private void addList() { BusinessLogicLayer.BLL BLL = new BusinessLogicLayer.BLL(); List <contacts> ContactList = BLL.listContact(); if (ContactList != null && ContactList.Count > 0) { lst_list.DataSource = ContactList; } }