示例#1
0
        private void loadEmailListToListView()
        {
            lvwListAllEmail.Items.Clear();

            List <Informasi_Email> daftarIem = iemDAO.GetAll();

            foreach (Informasi_Email email in daftarIem)
            {
                FillToListView(email);
            }
        }
示例#2
0
        private void loadListViewEmail()
        {
            try
            {
                lvwInformasiEmail.Items.Clear();

                List <Informasi_Email> daftarIem = iemDAO.GetAll();

                foreach (Informasi_Email email in daftarIem)
                {
                    FillToListView(email);
                }
            }
            catch (Exception ex)
            {
                errorDBox(ex.Message.ToString(), "loadDataKaryawan");
            }
        }