johnnyg123
asked on
allow selection of files in asp.net
I am trying to write a asp.net app (using VB) that will perform 3 functions
1. allow a user to select a csv file
2. read the file and perform validations
3. log results of validations
I know how to do #2 and #3 no problem
If I were using a windows application I would use openfiledialog to accomplish #1. Apparently, openfiledialog is not available in asp.net
Any ideas on how to emulate the same functionality in asp.net
I just want the user to be able to select files ...I am not looking to save or upload files
1. allow a user to select a csv file
2. read the file and perform validations
3. log results of validations
I know how to do #2 and #3 no problem
If I were using a windows application I would use openfiledialog to accomplish #1. Apparently, openfiledialog is not available in asp.net
Any ideas on how to emulate the same functionality in asp.net
I just want the user to be able to select files ...I am not looking to save or upload files
I think you are missing a fundamental concept of how web applications work. The VB code you write runs on the server. If you want your VB code to be able to read through a file the only way to do that is to upload the file to the server so the VB code can get at it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.