Data |
Top Previous Next |
To preview the report data are required. By default, data are taken from the Dictionary of the edited report. If necessary, they can be overridden. To do this you need to add the handler to the GetDataSet event. There is a sample code below using what data can be overridden:
C#: { data.ReadXml("D:\\Demo.xml"); data.ReadXmlSchema("D:\\Demo.xsd"); e.DataSet = data; VB.NET: ByVal e As StiWebDesigner.StiPreviewDataSetEventArgs) Dim data As DataSet = New DataSet() data.ReadXml("D:\\Demo.xml") data.ReadXmlSchema("D:\\Demo.xsd") e.DataSet = data End Sub
As seen from code, data are taken from XML and XSD files. The same way exists for other data sources.
|
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |