Exemple #1
0
 public void UpdateFailConn()
 {
     setFailConn();
     ACAD food = new CADType("GebatDataConnectionString");
     DataRow ins = food.GetVoidRow;
     ins["Id"] = 1;
     ins["Name"] = "Cajas";
     food.Update(ins);
 }
Exemple #2
0
 public void UpdateNullRow()
 {
     ACAD food = new CADType("GebatDataConnectionString");
     DataRow mod = null;
     food.Update(mod);
 }
Exemple #3
0
 public void Update()
 {
     ACAD food = new CADType("GebatDataConnectionString");
     DataRow mod = food.GetVoidRow;
     mod["Id"] = 1;
     mod["Name"] = "Cajas";
     food.Update(mod);
 }