I am trying to display a word documnet from my sql server database using
<%
set rs=server.createobject("ADODB.recordset")
txtSQL= "SELECT filedata FROM clientcv WHERE clientID = '" & REQUEST("clientid") & "'"
Set rs=conn.Execute(txtSQL)
'Response.Expires = 0
'Response.Buffer = TRUE
'Response.Clear
Response.ContentType = "application/msword"
Response.BinaryWrite RS("filedata")
RS.Close
Set RS = Nothing
%>
but the results I get is
ÐÏࡱá
Thanks in advance
<%
set rs=server.createobject("ADODB.recordset")
txtSQL= "SELECT filedata FROM clientcv WHERE clientID = '" & REQUEST("clientid") & "'"
Set rs=conn.Execute(txtSQL)
'Response.Expires = 0
'Response.Buffer = TRUE
'Response.Clear
Response.ContentType = "application/msword"
Response.BinaryWrite RS("filedata")
RS.Close
Set RS = Nothing
%>
but the results I get is
ÐÏࡱá
Thanks in advance