c# - How to load/read excel data into asp.net 5 using OpenXML -


i trying import values excel asp.net 5. have done using c# , in windows application utilizing epplus. new asp environment , having hard time doing basic operation. able import "documentformat.openxml": "2.5.0" json file. want open excel, load data, feed list, bunch operations , display values user. if can getting excel portion appreciate it.

my attempt:

system.io.filestream _stream = new system.io.filestream(path, system.io.filemode.open);  spreadsheetdocument spreadsheet = spreadsheetdocument.open(file,true) 

i not sure if need file streams this. when try says:

spreadsheetdocument not referenced 


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -