Ejemplo n.º 1
0
        private void toolStripMenuItem1_Click(object sender, EventArgs e)
        {
            DataGridViewCell cell = dataGridView1.SelectedRows[0].Cells[0];

            Book         book = new Book((int)cell.Value);
            DialogResult dr   = book.ShowDialog(this);

            if (dr == DialogResult.OK)
            {
                bookTableAdapter.Fill(_aspnet5_ContosoBooks_c51843ad_4ae8_461d_9be5_ba1f8442964eDataSet.Book);
            }
        }