Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to load an MS Access Database file into the SpreadsheetControl's document

$
0
0

This example demonstrates how to extend the list of supported files which is displayed in the "Open File" dialog with the "MDB" file format while loading a document into the SpreadsheetControl.


To extend this list, a custom AccessDBDocumentImporter class was implemented. To add this functionality into an existing project, simply execute the SpreadsheetControl.ExtendOpenFileCommand method:

[C#]
spreadsheetControl1.ExtendOpenFileCommand();

To load data from an MS Access Database file, a corresponding extension LoadMSAccessFile method was implemented. This method can be used for the SpreadsheetControl's document, as well as the Workbook instance.


Viewing all articles
Browse latest Browse all 7205


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>