Link to home
Start Free TrialLog in
Avatar of Michael Sterling
Michael SterlingFlag for United States of America

asked on

How do I upload a .csv file?

I'm using goDaddy to host a website and need to do a file upload into a table. It occurred to me that I don't think I'll be able to use excel as my data source so I was hoping to be able to upload a .csv file. Is there a C# example of how to do this or possible some other method?
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Hi Michael;

Have a look at using the FileUpload Web Server Control to upload a file from the client machine to the server. Have a look at the Microsoft web page, How to: Upload Files with the FileUpload Web Server Control.
Avatar of Michael Sterling

ASKER

@Fernando Soto: Thanks for the response, I now realize I didn't phrase my question correctly. I should've asked for a way to parse a .csv file.
ASKER CERTIFIED SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America 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
Thanks for the input.
Not a problem Michael, glad to help.