/// <summary> /// Returns string with conversions ids /// </summary> private string GetConversions() { var conversionIds = ConversionCampaignInfoProvider.GetConversionCampaigns() .Columns("ConversionID") .WhereEquals("CampaignID", campaignID) .Select(x => x.ConversionID); return(TextHelper.Join(";", conversionIds)); }
/// <summary> /// Returns string with campaign ids. /// </summary> private string GetConversions() { DataSet ds = ConversionCampaignInfoProvider.GetConversionCampaigns("ConversionID = " + conversionID, null, 0, "CampaignID"); if (!DataHelper.DataSourceIsEmpty(ds)) { return(TextHelper.Join(";", SqlHelperClass.GetStringValues(ds.Tables[0], "CampaignID"))); } return(String.Empty); }