private void buttonSua_Click(object sender, EventArgs e) { ThamSoDauVao_class thamSoDauVao = Program.thamSoDauVaoSql.LayThamSoDauVaoVoiMaThamSo(Int32.Parse(dataGridViewTSDV.Rows[dataGridViewTSDV.SelectedRows[0].Index].Cells["idThamSo"].Value.ToString())); if (thamSoDauVao != null) { SuaTDV suaTdv = new SuaTDV(thamSoDauVao); suaTdv.ShowDialog(); Program.thamSoDauVaoSql.getDataTSDV(dataGridViewTSDV, searchLookUpEditTSDV); } else { MessageBox.Show("Có Lỗi Xảy Ra"); } }
private void buttonSua_Click(object sender, EventArgs e) { SuaTDV suaTdv = new SuaTDV(); }