Sunday, 8 September 2013

Transfer row datagridview to another form c# [Multiple]

Transfer row datagridview to another form c# [Multiple]

Hi i try to transder row datagridview in form1 to form2 this my code
String str1;
str1 = this.dataGridView2.Rows[0].Cells[0].Value.ToString();
form2 frm = new form2 (str1);
frm.Show();
But this can transder only rows 0. idk for use foreach to another form

No comments:

Post a Comment