Exemplo n.º 1
0
 protected void Action_Test_Btn_Command(object sender, CommandEventArgs e)
 {
     args[0] = Batch_ID.Value;
     args[1] = e.CommandArgument.ToString();
     args[2] = DateTime.Now.ToString();
     if (e.CommandName == "Assign")
     {
         insertion.Batch_Test(args);
     }
     else
     {
         delete.Batch_Test(Convert.ToInt32(args[0]), Convert.ToInt32(args[1]));
     }
     Load_Databases();
     Load_Tests(Batch_ID.Value, "");
 }