Read Excel sheet from SQL Data base and display it in Gridview
Hi EE,
i have a web application and i need to allow users to upload an Excel sheet and display the content in a gridview.
most of the solutions talks about reading the path of the file but this is not visible in our case since it is a web application hosted on production server.
moreover i cant upload them and save them temporary in a file and read them again for security reasons.
Thanks
ASP.NETMicrosoft SQL Server 2008Microsoft Excel
Last Comment
Kamal Khaleefa
8/22/2022 - Mon
Surendra Nath
where is the file stored on users pc or sql db
Mark Wills
Ummmm... If a web app, and user is uploading, and display in a gridview, then what does that have to do with SQL Server ?
It is going to be difficult if you don't know the location (path) of the file...
Maybe you can explain in a little more detail ?
Kamal Khaleefa
ASKER
yes im not able to save in a file because security issues
they need me to upload it and display it in gridview(the content)
we can save it in our SQL DB if needed or if there is a way while uploading to read the posted file and display it .....
thanks
i was not able to read it while uploading since we cant install 3rd party controls
i save the uploaded files into a shared network drive folder and read from there