protected void CreateBill_click(object sender, EventArgs e)
        {
            CostManagerClass cm = new CostManagerClass();
            int cid             = Int32.Parse(tb.Text);

            cm.createBill(cid);
            // Response.Redirect("CM_View_CreateBill.aspx");
        }
Exemplo n.º 2
0
        protected void add_new_bill_btn_Click(object sender, EventArgs e)
        {
            CostManagerClass cm = new CostManagerClass();
            int billid          = cm.createBill(int.Parse(Request.QueryString["caseid"]));

            if (billid > 0)
            {
                Response.Redirect("DoctorCaseAddNewBill.aspx?billid=" + billid);
            }
        }