private void frmConsultarPerfiles_Load(object sender, EventArgs e) { datPerfil oDat = new datPerfil(); gridControl1.DataSource = oDat.Consulltar(); }