public void LlenarGrid() { datImagen datImg = new datImagen(); gridControl1.DataSource = datImg.listaimagen(); if (gridControl1.DataSource == null) { MessageBox.Show("", "", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
public void FillGrid() { datImagen datImg = new datImagen(); gridControl1.DataSource = datImg.Consultar(); if (gridControl1.DataSource == null) { MessageBox.Show(msj.NoDatos, msj.Titulo, MessageBoxButtons.OK, MessageBoxIcon.Information); } }