public void FillGrid()
 {
     datEmpresa datEmp = new datEmpresa();
     gridControl1.DataSource = datEmp.Consultar();
     if (gridControl1.DataSource == null)
     {
         MessageBox.Show(msj.NoDatos, msj.Titulo, MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }
 public void FillGrid()
 {
     datEmpresa datEmp = new datEmpresa();
     gridControl1.DataSource = datEmp.Consultar();
 }