private void Form1_Load(object sender, EventArgs e) { String sql = "Select * form LSHDTT"; Conect cn = new Conect(); Dgv.DataSource = cn.getdata(sql); }