public void LoadForm() { EmployeeNameBindingSource.DataSource = EmployeeService.GetFirstNameLastNameForDropBox(); DocumentsStoredDepartmentBindingSource.DataSource = DocumentsStoredDepartmentService.GetAll(); DocumentsStoredTypeBindingSource.DataSource = DocumentsStoredTypeService.GetByDeparmentId(Conversions.ToInteger(ddlArea.SelectedValue)); txtExpireDate.CustomFormat = " "; txtIssueDate.CustomFormat = " "; ConfigLayoutForUserPerfil(); }
public void LoadForm(int DepId) { DocumentsStoredDepartmentBindingSource.DataSource = DocumentsStoredDepartmentService.GetAll(); ddlDepartment.SelectedValue = DepId; txtDocumentType.Text = ""; }
public void LoadDepartment(int DepartmentId) { DocumentsStoredDepartmentBindingSource.DataSource = DocumentsStoredDepartmentService.GetAll(); ddlArea.SelectedValue = DepartmentId; }