private void simpleButton3_Click(object sender, EventArgs e) { DbConn.Insert(textBox34.Text, textBox35.Text, textBox36.Text, textBox37.Text, textBox39.Text, "PriceList"); this.Close(); }
public void InsertMaker() { DbConn.Insert(textBox7.Text, "Maker"); }
public void InsertTypeProduct() { DbConn.Insert(textBox7.Text, "TypeProduct"); }
public void ShowMaker() { Thread.Sleep(1000); dataGridView1.DataSource = DbConn.GetData($"SELECT * FROM Maker"); }
public void UpdateMaker() { DbConn.Update("Namee", textBox10.Text, "Maker", textBox11.Text); }
public void ShowCheckProduct() { dataGridView7.DataSource = DbConn.GetDataTable("ShowCheckProduct"); }
public void ShowCheckUnique() { dataGridView6.DataSource = DbConn.GetDataTable("ShowCheckUnique"); }
public void DeletePriceList() { DbConn.Delete(textBox21.Text, "PriceList"); }
private void simpleButton1_Click(object sender, EventArgs e) { dataGridView5.DataSource = DbConn.GetDataTable("ShowPrice"); }
public void InsertPriceList() { DbConn.Insert(textBox34.Text, textBox35.Text, textBox36.Text, textBox37.Text, textBox39.Text, "PriceList"); }
public void DeleteTypeProduct() { DbConn.Delete(textBox1.Text, "TypeProduct"); }
public void UpdateTypeProduct() { DbConn.Update("Namee", textBox2.Text, "TypeProduct", textBox4.Text); }
public void DeleteMaker() { DbConn.Delete(textBox12.Text, "Maker"); }
public void InsertAdmin() { DbConn.Insert(textBox4.Text, textBox3.Text, "Admins"); }