protected void LinkButton6_Click(object sender, EventArgs e) { try { CashierInsertDetails.AddChequeissuedetails(1, int.Parse(TextBox10.Text.ToString()), 0, TextBox1.Text.ToString(), DropDownList5.Text.ToString(), DateTime.Parse(Label57.Text.ToString()), DropDownList1.Text.ToString(), DropDownList6.Text.ToString(), DropDownList8.Text.ToString(), TextBox11.Text.ToString(), DropDownList3.Text.ToString(), DateTime.Parse(TextBox12.Text.ToString()), double.Parse(TextBox13.Text.ToString()), int.Parse(TextBox6.Text.ToString()), TextBox7.Text.ToString(), TextBox14.Text.ToString(), TextBox15.Text.ToString(), TextBox16.Text.ToString(), DropDownList7.Text.ToString(), TextBox9.Text.ToString(), TextBox8.Text.ToString(), Session["sc"].ToString()); } catch { } }
protected void LinkButton5_Click(object sender, EventArgs e) { try { CashierInsertDetails.AddChequedepositdetails(TextBox5.Text.ToString(), DropDownList1.Text.ToString(), DropDownList2.Text.ToString(), DateTime.Parse(Label50.Text.ToString()), TextBox9.Text.ToString(), DateTime.Parse(TextBox10.Text.ToString()), double.Parse(TextBox6.Text.ToString()), int.Parse(TextBox11.Text.ToString()), int.Parse(TextBox12.Text.ToString()), TextBox7.Text.ToString(), TextBox8.Text.ToString(), Session["sc"].ToString()); } catch { } }
protected void LinkButton8_Click(object sender, EventArgs e) { try { CashierInsertDetails.AddSupdatechequedetails(int.Parse(Label33.Text.ToString()), Label41.Text.ToString(), TextBox4.Text.ToString(), double.Parse(Label42.Text.ToString()), Label43.Text.ToString()); } catch { } }
protected void LinkButton5_Click(object sender, EventArgs e) { try { CashierInsertDetails.Addcashwithdrwaldetails(DropDownList1.Text.ToString(), DropDownList2.Text.ToString(), DropDownList3.Text.ToString(), DateTime.Parse(Calendar1.SelectedDate.ToString()), TextBox9.Text.ToString(), double.Parse(TextBox6.Text.ToString()), TextBox7.Text.ToString(), TextBox8.Text.ToString(), Session["sc"].ToString()); } catch { } }
protected void LinkButton6_Click(object sender, EventArgs e) { try { CashierInsertDetails.Addchequereturndetails(int.Parse(TextBox13.Text.ToString()), int.Parse(TextBox14.Text.ToString()), TextBox6.Text.ToString(), TextBox15.Text.ToString(), TextBox16.Text.ToString(), TextBox5.Text.ToString(), DateTime.Parse(TextBox10.Text.ToString()), double.Parse(TextBox9.Text.ToString()), DateTime.Parse(Calendar1.SelectedDate.ToString()), TextBox7.Text.ToString(), Session["sc"].ToString()); } catch { } }
protected void LinkButton5_Click(object sender, EventArgs e) { try { CashierInsertDetails.Addcustomer(1, TextBox17.Text.ToString(), TextBox18.Text.ToString(), TextBox19.Text.ToString(), DropDownList1.Text.ToString(), TextBox4.Text.ToString(), TextBox5.Text.ToString(), TextBox6.Text.ToString(), TextBox7.Text.ToString(), TextBox20.Text.ToString(), TextBox9.Text.ToString(), TextBox10.Text.ToString(), TextBox11.Text.ToString(), TextBox12.Text.ToString(), TextBox13.Text.ToString(), TextBox14.Text.ToString(), DropDownList2.Text.ToString(), DropDownList3.Text.ToString(), DropDownList4.Text.ToString(), TextBox15.Text.ToString(), DateTime.Parse(Label31.Text.ToString()), TextBox21.Text.ToString(), Session["sc"].ToString()); Label30.Text = CashierInsertDetails.cno.ToString(); Session["cid"] = Label30.Text.ToString(); } catch { } }
protected void LinkButton6_Click(object sender, EventArgs e) { CashierInsertDetails.Addcuschequedetails(1, int.Parse(Label33.Text.ToString()), TextBox1.Text.ToString(), TextBox2.Text.ToString(), TextBox3.Text.ToString(), DateTime.Parse(Label51.Text.ToString()), DropDownList1.Text.ToString(), DateTime.Parse(TextBox4.Text.ToString()), double.Parse(TextBox5.Text.ToString()), DropDownList2.Text.ToString(), DropDownList3.Text.ToString(), DropDownList4.Text.ToString(), TextBox6.Text.ToString(), TextBox7.Text.ToString(), TextBox8.Text.ToString(), TextBox9.Text.ToString(), "Not Deposit", Session["sc"].ToString()); Label50.Text = CashierInsertDetails.issueid.ToString(); Session["issueid"] = Label50.Text.ToString(); Session["cuschequeno"] = TextBox3.Text.ToString(); Session["cuschequeamount"] = TextBox5.Text.ToString(); Session["cuschequetype"] = DropDownList1.Text.ToString(); Session["cuschequedate"] = TextBox4.Text.ToString(); Label51.Text = System.DateTime.Today.ToString(); }
protected void LinkButton1_Click(object sender, EventArgs e) { try { CashierInsertDetails.Addcusdatechequedetails(int.Parse(Label33.Text.ToString()), Label41.Text.ToString(), TextBox4.Text.ToString(), double.Parse(Label42.Text.ToString()), Label43.Text.ToString()); Label44.Text = "Data Store In Database"; } catch { } }
protected void LinkButton1_Click(object sender, EventArgs e) { try { CashierInsertDetails.Addsuppliers(1, TextBox17.Text.ToString(), TextBox18.Text.ToString(), TextBox19.Text.ToString(), DropDownList1.Text.ToString(), TextBox4.Text.ToString(), TextBox5.Text.ToString(), TextBox6.Text.ToString(), TextBox7.Text.ToString(), TextBox20.Text.ToString(), TextBox9.Text.ToString(), TextBox10.Text.ToString(), TextBox11.Text.ToString(), TextBox12.Text.ToString(), TextBox13.Text.ToString(), TextBox14.Text.ToString(), DropDownList2.Text.ToString(), DropDownList3.Text.ToString(), DropDownList4.Text.ToString(), TextBox15.Text.ToString(), DateTime.Parse(Label31.Text.ToString()), TextBox21.Text.ToString(), Session["sc"].ToString()); Label30.Text = CashierInsertDetails.Sno.ToString(); Session["sid"] = Label30.Text.ToString(); Label32.Visible = true; Label32.Text = "Supplier's Data Store In Database. Supplier ID :" + Label30.Text; LinkButton2.Enabled = true; LinkButton3.Enabled = true; } catch { Label33.Visible = true; Label33.Text = "Data Not Store In Database .Please Check The Data"; } }
protected void LinkButton1_Click(object sender, EventArgs e) { try { CashierInsertDetails.Addcustomer(1, TextBox1.Text.ToString(), TextBox2.Text.ToString(), TextBox3.Text.ToString(), DropDownList1.Text.ToString(), TextBox4.Text.ToString(), TextBox5.Text.ToString(), TextBox6.Text.ToString(), TextBox7.Text.ToString(), TextBox8.Text.ToString(), TextBox9.Text.ToString(), TextBox10.Text.ToString(), TextBox11.Text.ToString(), TextBox12.Text.ToString(), TextBox13.Text.ToString(), TextBox14.Text.ToString(), DropDownList2.Text.ToString(), DropDownList3.Text.ToString(), DropDownList4.Text.ToString(), TextBox15.Text.ToString(), DateTime.Parse(Label31.Text.ToString()), TextBox16.Text.ToString(), Session["sc"].ToString()); Label30.Text = CashierInsertDetails.cno.ToString(); Session["cid"] = Label30.Text.ToString(); Label32.Visible = true; Label32.Text = "Customer's Details Store In Database , Customer ID:" + Session["cid"]; LinkButton2.Enabled = true; LinkButton3.Enabled = true; } catch { Label33.Visible = true; Label33.Text = "Data Not Store Check all values then Save"; } }
protected void LinkButton1_Click(object sender, EventArgs e) { try { CashierInsertDetails.AddSupchequedetails(1, int.Parse(Label33.Text.ToString()), TextBox1.Text.ToString(), TextBox2.Text.ToString(), TextBox3.Text.ToString(), DateTime.Parse(Label51.Text.ToString()), DropDownList1.Text.ToString(), DateTime.Parse(Calendar1.SelectedDate.ToString()), double.Parse(TextBox5.Text.ToString()), DropDownList2.Text.ToString(), DropDownList3.Text.ToString(), DropDownList4.Text.ToString(), TextBox6.Text.ToString(), TextBox7.Text.ToString(), TextBox8.Text.ToString(), TextBox9.Text.ToString(), "Not Deposit", Session["sc"].ToString()); Label50.Text = CashierInsertDetails.issueid1.ToString(); Session["issueid1"] = Label50.Text.ToString(); Session["supchequeno"] = TextBox3.Text.ToString(); Session["supchequeamount"] = TextBox5.Text.ToString(); Session["supchequetype"] = DropDownList1.Text.ToString(); Session["supchequedate"] = Calendar1.SelectedDate.ToString(); Label52.Visible = true; Label52.Text = "Data Store In Database .Transaction ID :" + Label50.Text; } catch { Label53.Visible = true; Label53.Text = "Data Not Store In Database.Please check your data"; } }
protected void LinkButton5_Click(object sender, EventArgs e) { CashierInsertDetails.AddChequeissuedetails(1, int.Parse(TextBox10.Text.ToString()), int.Parse(TextBox22.Text.ToString()), TextBox1.Text.ToString(), DropDownList5.Text.ToString(), DateTime.Parse(TextBox17.Text.ToString()), TextBox18.Text.ToString(), TextBox19.Text.ToString(), TextBox5.Text.ToString(), TextBox11.Text.ToString(), TextBox20.Text.ToString(), DateTime.Parse(TextBox12.Text.ToString()), double.Parse(TextBox13.Text.ToString()), int.Parse(TextBox6.Text.ToString()), TextBox7.Text.ToString(), TextBox14.Text.ToString(), TextBox15.Text.ToString(), TextBox16.Text.ToString(), TextBox21.Text.ToString(), TextBox8.Text.ToString(), TextBox9.Text.ToString(), Session["sc"].ToString()); }