[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.Tools.DataSourceTools.SaveSharedDataSource

SaveSharedDataSource Method

SaveSharedDataSource(FileInfo, DataSource)

Saves the specified DataSource to a shared data source XML file.

Declaration
public static void SaveSharedDataSource(FileInfo file, DataSource sharedDataSource)
Parameters
Type Name Description
FileInfo file

A FileInfo containing information about where to save the XML file.

DataSource sharedDataSource

The DataSource to save.

SaveSharedDataSource(Stream, DataSource)

Saves the specified DataSource to a shared data source XML file.

Declaration
public static void SaveSharedDataSource(Stream stream, DataSource sharedDataSource)
Parameters
Type Name Description
Stream stream

A Stream where the XML data will be written.

DataSource sharedDataSource

The DataSource to save.