Author: anu0987 | Posted on: 3/31/2009 10:23:47 AM | Views : 845

Hi

I am creating asp files and saving them to database(sql 2005). But when I retrive the file from DB and try to open it, it opens up in visual interdave and looks as lots of squares. I want it to open in IE with html.

The code of opening file that I am using is

------------------------------------------------------------------------------------

sqlconn.Open()
Dim myDataReader As SqlDataReader
myDataReader = cmdViewDocument.ExecuteReader(CommandBehavior.CloseConnection)
While (myDataReader.Read())With Response
.Clear()

.ContentType = myDataReader.Item(&q ...

Go to the complete details ...