Hello all I need to take a simple text file which is line by line and place each value into a variable in ASP so I can run a update statement in SQL to update something. I know how to open the text file with file system object such as:
set fso = createobject("scripting.filesystemobject"
If fso.FileExists(filename) then
set fileobj = fspenTextFile(filename,8,True)
Else
Response.End
End if
Now each line would have up to a 30 character order in each line such as:
01MA34443454
0933423432MA
I need to place in my loop the order in a variable so I can run a update statement against it. Any idea? Thanks
set fso = createobject("scripting.filesystemobject"
If fso.FileExists(filename) then
set fileobj = fspenTextFile(filename,8,True)
Else
Response.End
End if
Now each line would have up to a 30 character order in each line such as:
01MA34443454
0933423432MA
I need to place in my loop the order in a variable so I can run a update statement against it. Any idea? Thanks