private void OnPay()
        {
            if (ViewState["OrderId"] == null || ViewState["TotalPrice"] == null)
            {
                WebHelper.MessageBox.Messager(this.Page, lbtnPostBack, "当前订单不存在,请检查", "系统提示");
                return;
            }
            object  orderId    = ViewState["OrderId"];
            decimal totalPrice = 0;

            if (!decimal.TryParse(ViewState["TotalPrice"].ToString(), out totalPrice))
            {
                WebHelper.MessageBox.Messager(this.Page, lbtnPostBack, "付款金额转换失败,请检查", "系统提示");
                return;
            }

            if (bll == null)
            {
                bll = new BLL.Order();
            }
            if (bll.PayPrice(Guid.Parse(userId), orderId, totalPrice) > 0)
            {
                Response.Redirect(string.Format("PayOrder.aspx?oN={0}", HttpUtility.UrlEncode(orderNum)), true);
            }
            else
            {
                WebHelper.MessageBox.Messager(this.Page, lbtnPostBack, "付款失败,请检查", "系统提示");
            }
        }