Example #1
0
 public void UpdateDataCellValue(AspNetCore.ReportingServices.ReportRendering.DataValue dataValue)
 {
     if (this.m_dataValue == null && !this.m_isChartValue)
     {
         string name  = (dataValue != null) ? dataValue.Name : null;
         object value = (dataValue != null) ? dataValue.Value : null;
         ((ShimDataValueInstance)this.m_instance).Update(name, value);
     }
 }
Example #2
0
        public DataValue(RenderingContext renderingContext, AspNetCore.ReportingServices.ReportRendering.DataValue dataValue)
        {
            this.m_isChartValue = false;
            string name  = (dataValue != null) ? dataValue.Name : null;
            object value = (dataValue != null) ? dataValue.Value : null;

            this.m_name             = new ReportStringProperty(true, null, null);
            this.m_value            = new ReportVariantProperty(true);
            this.m_instance         = new ShimDataValueInstance(name, value);
            this.m_renderingContext = renderingContext;
        }