private void CarregarGrid() { try { Conect conect = new Conect(); SqlConnection conn = conect.Conexao(); SqlCommand cmd = new SqlCommand("Select * From tbl_Correcao", conn); SqlDataAdapter da = new SqlDataAdapter(cmd); DataTable dt = new DataTable(); da.Fill(dt); dgvCorrecao.DataSource = dt; } catch (Exception ex) { MessageBox.Show("ERRO, Detalhe: " + ex.Message); } }