Ejemplo n.º 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            rowIndex = dataGridView1.CurrentRow.Index;
            DataGridViewRow row = dataGridView1.Rows[rowIndex];
            // MessageBox.Show(row.Cells[0].Value.ToString());
            Form18 a = new Form18(row);

            a.ShowDialog();
            refresh();
        }
Ejemplo n.º 2
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (comboBox1.Text.Length > 0)
     {
         rowIndex = dataGridView1.CurrentRow.Index;
         DataGridViewRow row = dataGridView1.Rows[rowIndex];
         // MessageBox.Show(row.Cells[0].Value.ToString());
         Form18 a = new Form18(row);
         a.ShowDialog();
         refresh();
     }
     else
     {
         MessageBox.Show("please fill data");
     }
 }