I have datagridview in form1. How can I access datagridview from form2.
private void button1_Click(object sender, EventArgs e) { string sql1 = \"in
You need to make the dataGridView field/property "public" or "internal". Choose public if you're a beginner like it sounds.