hello
Can any one please help me in the following.....
I making a database with Access and ASP. I have created a search option where I have a text box and a submit button. the result to this search is displayed in the same page.
all i want is a option where user can choose between printing the results in the same page or in a text file....
the result is in tabular form and i want the format to remain if not table it self (in the asp page the results is presented in html tabular format with borders in the table so i want same thing to occur in text file to if it is possible)

please help
thanks
neha

Recommended Answers

All 3 Replies

Please post the code here.

send me yr sample files, will work it out and send u back
cheers

it is possible.. recently i was directing the output from SQL database to excel..

<%
Response.ContentType = "text/csv"
Response.AddHeader "Content-Disposition", "filename=wi.csv;"
%>
this code will create a wi.csv file to be opened in excel.. similarly u can try for txt files too

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.