ReportPartBookmark.DataContext Property
Gets the data sub tree of the report.
Namespace CrystalDecisions.CrystalReports.ViewerObjectModel Assembly CrystalDecisions.Shared (CrystalDecisions.Shared.dll)
Syntax
'Declaration
Public Property DataContext As String
public string DataContext {get; set;}
Remarks
The DataContext can be specified using either strings or integers to describe the report nodes.
Example 1: "/Country[USA]/Region[CA]" or "2-1". Each of these examples navigates to the California region, which is found by going to the third node in the first group level and then the second node in the second group level.
Example 2: "/Country[USA]/Region[*]" or "2-*". Each of these examples navigates to all regions in the USA, which is found by going to the third node in the first group level and then the second group level.
The wild card (*) can only be set for the last level.
Version Information
Crystal Reports Basic for Visual Studio 2008
Supported since: Crystal Reports .NET 9
See Also
Reference
ReportPartBookmark Class
ReportPartBookmark Members
CrystalDecisions.CrystalReports.ViewerObjectModel Namespace