Response.ContentType = application/msword - Refuses SQL Query...
I'm compiling a Word Document form Data which is inside my SQL database....
Everything goes allright...I can use...request.querystring, sessions, etc etc, inside the document.
Whenever I start creating a Query to get some information...and try to insert it in my document it fails...Is this a common issue??
<%@LANGUAGE="VBSCRIPT"%>
<%
' changes MIME Type to open as MS-Word document file type
Response.ContentType = "application/msword"
Response.AddHeader "Content-Disposition", "attachment;filename=Documentatiebrief.doc"
%>