Exemplo n.º 1
0
        public void btn_UpdateCampaign()
        {
            try
            {
                string query = "UPDATE tb_CamapignJoinGroup SET AccountFilePath ='" + _AccountFilePath + "',SearchType='" + _SearchType + "',KeywordFilePath='" + _KeywordFilePath + "'"
                        + " , UrlFilePath= '" + _KeywordFilePath + "' , IsSheduleDaily='" + _IsScheduledDaily + "' ,DelayFrom='" + _DelayFrom + "',DelayTo='" + _DelayTo + "' WHERE CampaignName='" + _CmpName + "';";

                clsDBQueryManager queryManager = new clsDBQueryManager();

                queryManager.InsertCamapaignData(query, "tb_CamapignJoinGroup");

                AddLoggerManageConnection("[ " + DateTime.Now + " ] => [  " + _CmpName + " is Saved. ]");

                LoadCampaign();
                ///Clear campaign
                ClearCamapigns();
            }
            catch (Exception ex)
            {
            }
        }