protected void cmdSaveRemark_Click(object sender, EventArgs e) { BLL_TRV_TravelRequest tr = new BLL_TRV_TravelRequest(); try { tr.AddRemarks(requestID, txtRemarks.Text, Convert.ToInt32(Session["USERID"].ToString()), UserID); grdRemarks.DataBind(); } catch { } finally { tr = null; } }
public string asyncAddRemarks(string Request_ID, string Remark, string UserID, string Agent_ID, string RemarkAgentIDs) { BLL_TRV_TravelRequest TRequest = new BLL_TRV_TravelRequest(); return(TRequest.AddRemarks(int.Parse(Request_ID), Remark, int.Parse(UserID), int.Parse(Agent_ID), RemarkAgentIDs).ToString()); }