Import CSV from aspx

  • Thread starter Thread starter pmclinn
  • Start date Start date
P

pmclinn

A while back I wrote a .net application that imports data from .csv
files. The file was written as a vb.net form project. Users use a file
dialog box to select the file to import, and the file is parsed and
then inserted into a database. Now I want to transition this form
program to the web(intranet).

Does anyone have an example of an aspx file dialog box that allows a
user to select a file on there desktop (csv) and then publish the
results to a DB on a server?
 
use a HTML input control with the type set to 'file'

e.g.

<input class="normal" id="myFile" type="file" size="50" name="myFileUpload"
runat="server" title="the title">

HTH

Ollie Riches
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top