private void frmEmpresaServicio_Load(object sender, EventArgs e) { deFechaActual.EditValue = DateTime.Today; datosEmpresaServicio Ser = new datosEmpresaServicio(); gleTipoPersona.Properties.DataSource = Ser.consultaTipoPersona(); }
//public clsEmpresaServicio class = new clsEmpresaServicio(); private void frmEmpresaServicio_Load(object sender, EventArgs e) { deFechaActual.EditValue = DateTime.Today; datosEmpresaServicio Ser = new datosEmpresaServicio(); }
public void cargar() { datosEmpresaServicio EmpSer = new datosEmpresaServicio(); gdcEmpresaServicio.DataSource = EmpSer.consulta(); }