writecsv.asp:
<%
Dim fs, f, fac, fa, faa, fab, i, ii
Function writeCSV(file)
Set fs = Server.CreateObject("Scripting.FileSystemObject")
Set f = fs.OpenTextFile(Server.MapPath(file), 1)
DO WHILE f.AtEndOfStream = false
'Response.Write(f.ReadLine)
'Response.Write("
")
fac = fac & f.ReadLine & vbCrLf
LOOP
fa = "
| " & fab(ii) & " | " & vbCrLf Next fa = fa & "