Beispiel #1
0
 private void btnUpUpgrade_Click(object sender, EventArgs e)
 {
     A = txtUpInv.Text.ToString();
     B = txtSId.Text;
     C = txtUpIName.Text;
     D = txtUpNQty.Text.ToString();
     E = txtUpPPrice.Text.ToString();
     F = txtUpTAmt.Text.ToString();
     G = upPurDate.Value.ToString();
     H = txtUpVName.Text;
     ddgUpPur.Rows.Add(A, B, C, D, E, F, G, H);
     UpTable.Clear();
     UpGTot();
     Upitm();
 }
Beispiel #2
0
 public void clear1()
 {
     txtUpIName.Text  = "";
     txtUpNQty.Text   = "";
     txtUpPPrice.Text = "";
     txtUpTAmt.Text   = "";
     txtUpGTotal.Text = "";
     txtUpVName.Text  = "";
     txtSId.Text      = "";
     txtUpInv.Text    = "";
     txtUpVName.Text  = "";
     upPurDate.ResetText();
     txtUpRAmt.Text          = "";
     txtUpRBal.Text          = "";
     txtInvSearch.Text       = "";
     txtUpInvSearch.Text     = "";
     txtUpCustSearch.Text    = "";
     txtUpSearchPurItem.Text = "";
     UpTable.Clear();
     ddgUpPur.Rows.Clear();
 }