Пример #1
0
 private void btn_UpdAsset_Click(object sender, EventArgs e)
 {
     if (dtg_Assets.SelectedRows.Count != 0)
     {
         UpdAsset upd = new UpdAsset(strConnection, dtg_Assets.SelectedRows[0].Cells[0].Value.ToString());
         upd.ShowDialog();
         SearchIt();
     }
 }
Пример #2
0
 private void btn_UpdAsset_Click(object sender, EventArgs e)
 {
     if (dtg_Assets.SelectedRows.Count != 0)
     {
         UpdAsset upd = new UpdAsset(strConnection, dtg_Assets.SelectedRows[0].Cells[0].Value.ToString());
         upd.ShowDialog();
         SearchIt();
     }
 }