first task is to get the content
FileSystemObject or FSO is a quick and easy way
to do that
here's a example
<%
dim fs,f,t,x
set fs=Server.CreateObject("Scripting.FileSystemObject"
set t=fs.OpenTextFile("c:\test.txt",1,false)
x=t.ReadAll
t.close
%>
straight from the mouth of w3schools.com
obviously taking out the write portions and such
thats the most basic form of getting all the content out of a text file
from the way it sounds you don't need much more then that. although
formatting may be something to keep in mind.
the database portion isn't to bad either. the only thing
you need be concerned with is the size of teh field you intend
to insert this data into.
here's some info on that side of things
doubt you'll need more the 8000 cahr's which varchar will support
so create the table column etc.. at varchar(8000)
note: keep the field as small as you can while being safe not
to allow errors from large insert's. if you insert 5 char's in that
8000 cahr field you still take the resources of 8000.
the steps to do the insert are basic to any other ASP process
just do teh FSO function and get the data
then create a connection object
Dim ConnectionString : ConnectionString = "SQL Server connection string"
ConnectionString = ConnectionString & "database name and location"
Dim ConnectionObj
set ConnectionObj = Server.CreateObject("ADODB.Connection"

ConnectionObj.Open ConnectionString,3,3
you may notice I'm copying from a different post I made earlier today. lazy
anyhow, then build the SQL insert
Dim SQLInsert
SQLInsert = "INSERT INTO table VALUES ('" & x & "')"
the best part is there isn't much mroe to that. just execute it
ConnectionObj.Execute(SQLInsert)
the SQL statement is the only thing that is waht you need to worry about
if you're inserting into a large table just name the columns etc.
for example if you want to insert into a table with three columns such as
ID textFile Employee
and ID and Employee are set alreay just do a
SQLInsert = "INSERT INTO table (textFile) VALUES ('" & x & "')"
or if you have a user entered employee
SQLInsert = "INSERT INTO table (textFile, Employee) VALUES ('" & x & "','" & EmployeeVariable & "')"
and so on
more info on that
don't forget to clean things up also
ConnectionObj.Close
_____________________________________________________________________
Hakuna matata!!