EditStudentInformation frm = new EditStudentInformation();
frm.label2.Text = this.dg_studSearch.CurrentRow.Cells[0].Value.ToString();
frm.textBox2.Text = this.dg_studSearch.CurrentRow.Cells[1].Value.ToString();
frm.textBox3.Text = this.dg_studSearch.CurrentRow.Cells[2].Value.ToString();
frm.textBox1.Text = this.dg_studSearch.CurrentRow.Cells[3].Value.ToString();
frm.textBox5.Text = this.dg_studSearch.CurrentRow.Cells[7].Value.ToString();
frm.textBox6.Text = this.dg_studSearch.CurrentRow.Cells[8].Value.ToString();
frm.textBox7.Text = this.dg_studSearch.CurrentRow.Cells[9].Value.ToString();
frm.label8.Text = this.dg_studSearch.CurrentRow.Cells[4].Value.ToString();
frm.label13.Text = this.dg_studSearch.CurrentRow.Cells[10].Value.ToString();
frm.textBox8.Text = this.dg_studSearch.CurrentRow.Cells[11].Value.ToString();
frm.textBox4.Text = this.dg_studSearch.CurrentRow.Cells[12].Value.ToString();
frm.ShowDialog();