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 ...
Get Active Server Pages 3.0 from Scratch now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.