private void createTradeBusinessDate(string TradeBusinessDate, string TradeBusinessExecutionDate, int holiday, int weekend)
        {
            try
            {
                bool result;
                TradeBusinessDateVo TradeBusinessDateVo = new TradeBusinessDateVo();
                TradeBusinessDateVo.TradeBusinessDate          = DateTime.Parse(TradeBusinessDate);
                TradeBusinessDateVo.TradeBusinessExecutionDate = DateTime.Parse(TradeBusinessExecutionDate);
                TradeBusinessDateVo.IsTradeBusinessDateHoliday = holiday;
                TradeBusinessDateVo.IsTradeBusinessDateWeekend = weekend;
                result = OnlineOrderBackOfficeBo.CreateTradeBusinessDate(TradeBusinessDateVo);
                ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "MyScript", "alert('Calendar Created!!');", true);
            }

            catch (BaseApplicationException Ex)
            {
                throw Ex;
            }
            catch (Exception Ex)
            {
                BaseApplicationException exBase       = new BaseApplicationException(Ex.Message, Ex);
                NameValueCollection      FunctionInfo = new NameValueCollection();
                FunctionInfo.Add("Method", "TradeBusinessDate.ascx.cs:CreateTradeBusinessDate()");
                object[] objects = new object[4];
                objects[0]   = TradeBusinessDate;
                objects[1]   = TradeBusinessExecutionDate;
                objects[2]   = holiday;
                objects[3]   = weekend;
                FunctionInfo = exBase.AddObject(FunctionInfo, objects);
                exBase.AdditionalInformation = FunctionInfo;
                ExceptionManager.Publish(exBase);
                throw exBase;
            }
        }