combit List & Label 30 - .NET Help
combit.Reporting.DataProviders Namespace / XmlDataProvider Class / XmlDataProvider Constructor / XmlDataProvider Constructor(IXPathNavigable)
The IXPathNavigable to use (e.g. XPathDocument).
Example


XmlDataProvider Constructor(IXPathNavigable)
Initializes the data provider to access the data in the specified IXPathNavigable.
Syntax
'Declaration
 
Public Function New( _
   ByVal document As IXPathNavigable _
)
 

Parameters

document
The IXPathNavigable to use (e.g. XPathDocument).
Example
XPathDocument myDoc = new XPathDocument(@"c:\users\public\data.xml");
XmlDataProvider provider = new XmlDataProvider(myDoc);
LL.DataSource = provider;
LL.Design();
Dim myDoc As New XPathDocument("c:\users\public\data.xml")
Dim provider As New XmlDataProvider(myDoc)
LL.DataSource = provider
LL.Design()
Requirements

Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9

See Also