private void Manage() { try { string result = RFundBAL.Manage(Request.QueryString, Request.Form); var rfund = new RFund { RFundID = Convert.ToInt32(result.Split(',')[0]), Number = Convert.ToInt32(result.Split(',')[1]) }; Response.Write(rfund.ToJSON()); } catch (Exception ex) { var appError = new ApplicationError { ErrorMessage = ex.Message, ErrorCode = 999 }; Response.Write(appError.ToJSON()); } }