private void Show_exist_files() { if (cbTypeSample.EditValue != null && cbCompany.EditValue != null) { Reception oReception = new Reception(); repAttach_file.DataSource = oReception.GetLstExistFiles(Convert.ToInt16(cbCompany.EditValue), cbTypeSample.EditValue.ToString()); repAttach_file.DisplayMember = "Name_file"; repAttach_file.ValueMember = "Idrecep_sample_attach"; } }