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

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