Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

devexpress spreadsheet document source wpf

public LoadFeatureSheetsViewModel()  
        {  
            Filter = "Excel Spreadsheets (.xlsx)|*.xlsx|All Files (*.*)|*.*";  
            FilterIndex = 1;  
            Sheet1Path = "C:PATHFatigue Calculation Results.xlsx";  
            FileStream stream = new FileStream("C:PATHFatigue Calculation Results.xlsx", FileMode.Open, FileAccess.Read, FileShare.ReadWrite);  
            Sheet1Source = new SpreadsheetDocumentSource(stream, DocumentFormat.OpenXml);  
            Title = "Select Feature Sheet";  
        }  
 
PREVIOUS NEXT
Tagged: #devexpress #spreadsheet #document #source #wpf
ADD COMMENT
Topic
Name
1+9 =