public void UpdatePriceList() { Dictionary <string, string> keyValuePairs = new Dictionary <string, string> { ["ID"] = textBox23.Text, ["TypeProductID"] = textBox32.Text, ["MakerID"] = textBox31.Text, ["Price"] = textBox30.Text, ["PackagingID"] = textBox22.Text, ["GreasinessID"] = textBox33.Text, }; DbConn.Update(keyValuePairs, "PriceList"); }
public void UpdateMaker() { DbConn.Update("Namee", textBox10.Text, "Maker", textBox11.Text); }
public void UpdateTypeProduct() { DbConn.Update("Namee", textBox2.Text, "TypeProduct", textBox4.Text); }