//public void updateDataPointPatient( // string idPassportUI, // string fullNameUI, // string birthdayUI, // string statusUI, // string originalIdPatientUI) //{ // patientBus.updatePatient( // idPassportUI, // fullNameUI, // birthdayUI, // statusUI, // originalIdPatientUI // ); //} #endregion CRUD public bool loadDataMedicalReceiveToView() { // Fill data patient - combobox medical record PersonalClinicDataSet.PATIENTDataTable tablePatient = patientBUS.getData(); cbxMedicalRecordPatient.DataSource = tablePatient; cbxMedicalRecordPatient.ValueMember = "idPatient"; cbxMedicalRecordPatient.DisplayMember = "fullName"; // Fill data doctor - combobox medical record PersonalClinicDataSet.DOCTORDataTable tableDoctor = doctorBUS.getData(); cbxMedicalRecordDoctor.DataSource = tableDoctor; cbxMedicalRecordDoctor.ValueMember = "idDoctor"; cbxMedicalRecordDoctor.DisplayMember = "fullName"; if (this.medicalRecordState == null) { return(false); } lbidMedicalRecord.Text = Convert.ToString(medicalRecordState.IdMedicalRecord); cbxMedicalRecordPatient.Text = Convert.ToString(medicalRecordState.IdPatient); cbxMedicalRecordDoctor.Text = Convert.ToString(medicalRecordState.IdDoctor); cbxMedicalRecordRequest.Text = Convert.ToString(medicalRecordState.Request); tbxHistoryMedicalRecord.Text = Convert.ToString(medicalRecordState.History); return(true); }
public void getDataDoctorGird() { PersonalClinicDataSet.DOCTORDataTable tableDoctor = doctorBUS.getData(); // Fill data doctor - combobox medical record cbxMedicalRecordDoctor.DataSource = tableDoctor; cbxMedicalRecordDoctor.ValueMember = "idDoctor"; cbxMedicalRecordDoctor.DisplayMember = "fullName"; // Fill data doctor - combobox technique cbxTechniqueDoctor.DataSource = tableDoctor; cbxTechniqueDoctor.ValueMember = "idDoctor"; cbxTechniqueDoctor.DisplayMember = "fullName"; }
public void getDataGrid() { PersonalClinicDataSet.DOCTORDataTable tableDoctor = doctorBus.getData(); dgvDoctor.DataSource = tableDoctor; }
public PersonalClinicDataSet.DOCTORDataTable getData() { PersonalClinicDataSet.DOCTORDataTable _tblDoctor = doctorDal.getData(); return(_tblDoctor); }