views:

27

answers:

1

Hi there,

i got a field that contains txt files in my access database. i want to display this txt file on my page. how can i read the file and display it exactly as it in file written? In which asp component can i display it? I know some methods to read file but they don't work as i want. my text files have a format and i want to display them so in my page.

Thanks

A: 

Solved! it was very easy. i am giving the path to the file and just calling Response.Write(pathToFile) in template.

bilal