Jump to content
Software FX Community

chaitanya_u

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About chaitanya_u

  • Rank
    Newbie
  1. Hi, I have created an application which reads data from barcode. However Iam getting an error: "Input stringwas not in a correct format" private void UpdateDB() { if (lblBilledItemTotal.Text == "") { lblBilledItemTotal.Text ="0"; } double billedTotal = Convert.ToDouble(lblBilledItemTotal.Text); double billDisc = Convert.ToDouble(txtBillDiscCash.Text); double netPayable = Convert.ToDouble(lblNetPayableAmount.Text); po.AddBillData(billedTotal, billDisc, netPayable, DateTime.Now.ToShortDateString()); ClearDS(); ds = po.GetLatestBillNo(); int billNo = Convert.ToInt32(ds.Tables[0].Rows[0].ItemArray
×
×
  • Create New...