Example #1
0
        protected void GenarateField(string param)
        {
            BillInfo billInfo = billManager.GetBillInfo(param);

            if (billInfo == null)
            {
                notificationLabel.Text = "Bill has no Record ";
            }
            else
            {
                dateTextBox.Text = billInfo.Bill_Voucher_date.ToString("yyyy/MM/dd");
                paidTextBox.Text = billInfo.Paid_amount.ToString();
                feeTextBox.Text  = billInfo.Bill_total.ToString();
            }
        }