O'Reilly logo

Active Server Pages 3.0 from Scratch by Nicholas Chase

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Reading a File: Importing Product Data

Strictly speaking, the file we created earlier wasn't really a file at all. It was actually a TextStream object that created a file. Now we are going to look at how to create a file object that will enable us to read in data from a file and insert that data into the database.

The first thing that we are going to do is actually create the file. We're going to start in Excel or another spreadsheet application, but our ultimate goal is a tab-delimited text file, so don't worry if you don't have one.

It's very common to find that the data you either have or want to have in your database started life as a spreadsheet. Because they're easy to use and nontechnical people can update them themselves, this is often ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required