I'm having a tough time trying to display my data information in another form which has a DataGridView, if a button is clicked
To display the results in the same Form in dgv isn't a problem but to display it in Form 2 in a dgv is giving me a headache (:
cmd.commandText: SELECT * FROM tblproducts
void btnDisplay_Click(object sender, EventArgs e)
if (comboBox1.SelectedValue.ToString() != null && comboBox2.SelectedValue.ToString() != null)
?????? what next??
dataGridView1.DataSource = get Info from Form1;