CodeCharge Studio All C#.NET VB.NET

Source Run-Time Property (.NET)

Applies to

ReportLabel Control

Syntax

C#.NET

public string Source{get;set;}

VB.NET

Public Overridable Property Source() As Single

Description

Retrieves or sets the data source for the control. The value may be different depending on the SourceType property. If SourceType is set to DBColumn then the value should be the name of a database column. If SourceType is set to SpecialValue then the value should be one of the following: RowNumber, PageNumber, CurrentDate, CurrentDateTime, CurrentTime.

Examples

C#.NET

ReportLabel1.Source = "user_name";

VB.NET

ReportLabel1.Source = "user_name"

See also

SourceType Property


On-line, printable versions and updates