Link to home
Start Free TrialLog in
Avatar of johnnyg123
johnnyg123Flag for United States of America

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
Avatar of Craig Wagner
Craig Wagner
Flag of United States of America image

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
Avatar of Miguel Oz
Miguel Oz
Flag of Australia 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