Ejemplo n.º 1
0
        private void dataGridView1_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (dataGridView1.Rows[e.RowIndex].Cells[e.ColumnIndex].Value != null)
            {
                dataGridView1.CurrentRow.Selected = true;
                batchtextBox.Text = dataGridView1.Rows[e.RowIndex].Cells["REGISTER NO"].FormattedValue.ToString();
            }
            for (int i = 0; i <= 26; i++)
            {
                if (batchtextBox.Text == "41081610400" + i)

                {
                    student_information stdinfo = new student_information(this);
                    stdinfo.ShowDialog();
                }
                else
                if (batchtextBox.Text == "4108161040" + i)

                {
                    student_information stdinfo = new student_information(this);
                    stdinfo.ShowDialog();
                }
            }
        }
Ejemplo n.º 2
0
 public others(student_information frm)
 {
     InitializeComponent();
     this.std = frm;
 }