Exemplo n.º 1
0
        public void BindExpensesToUpdate()
        {
            ExpensesModel model = client.EditExpensesbyID(ExpensesID, ParlourId);

            if (model == null)
            {
                Response.Write("<script>alert('Sorry!you are not authorized to perform edit on this Branch.');</script>");
            }
            else
            {
                ExpensesID           = model.pkiExpenseCategoryID;
                txtExpensesName.Text = model.Category;

                btnSubmite.Text = "Update";
            }
        }