Gets or sets a valid XPath pattern used to select the data source nodes to be printed in the report.
| Visual Basic (Declaration) | |
|---|---|
Public Property RecordsetPattern As String | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public string RecordsetPattern {get; set;} | |
| C# | Copy Code |
|---|---|
private void Detail_Format(object
sender, System.EventArgs eArgs) | |
| Visual Basic | Copy Code |
|---|---|
Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format | |
The report uses each node selected in the RecordSetPattern to create a detail section.
Note: XSL patterns are case sensitive and must use valid XSL syntax. XSL and XPath documentation can be found on MSDN at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/xmrefxpathsyntax.asp.
Typical XSL patterns:
Pattern Description
//* All Nodes
//ITEM All ITEM Nodes
/ Root item
/LAYOUT/ITEM/* All child nodes of /LAYOUT/ITEM
//ITEM[@type] All item nodes that contain the type attribute
//ITEM[@id="1"] All item nodes that have an id attribute value of "1"