Hola,
Busca como utilizar FSO, file system object...
En asp el código para habrir un TXT sería algo asi....
Código:
<%
set fs = createobject("scripting.filesystemobject")
set wfile = fs.opentextfile("c:\mydir\myfile.txt")
filecontent = wfile.readall
wfile.close
set wfile=nothing
set fs=nothing
response.write(filecontent)
%>
Esto lee todo el archivo de texto, pero lo puedes ir leyendo línea a línea y vas haciendo un insert en la base de datos, esto depende que contenga el TXT.
Busca mas ayuda en este foro, busca FSO....