Link to home
Start Free TrialLog in
Avatar of Kamal Khaleefa
Kamal KhaleefaFlag for Kuwait

asked on

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
Avatar of Surendra Nath
Surendra Nath
Flag of India image

where is the file stored on users pc or sql db
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 ?
Avatar of 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
ASKER CERTIFIED SOLUTION
Avatar of Manoj Patil
Manoj Patil
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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