ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports.SectionReportModel Namespace / TextBox Class / CountNullValues Property
Example

In This Topic
    CountNullValues Property
    In This Topic
    Determines whether DBNull values should be included as zeroes in summary fields.
    Syntax
    'Declaration
     
    Public Property CountNullValues As Boolean
    public bool CountNullValues {get; set;}

    Property Value

    Boolean. The default value is False.
    Example
    private void detail_Format(object sender, System.EventArgs eArgs) 
    { 
        this.textBox1.ClassName = "Normal"; 
        this.textBox1.OutputFormat = null; 
        this.textBox1.CountNullValues = true;
    }
    Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
       Me.TextBox1.ClassName = "Normal"
       Me.TextBox1.OutputFormat = Nothing
       TextBox1.CountNullValues = True;
    End Sub
    See Also