Hi,
I have a problem. Actually, I keep a .Pdf file into a sql database as binary files, and when I want to consult them, turn them back on .Pdf.
But, I want to show that rebuilt file inside an iframe, how can I do that?
I attached some of my code so you can see what I'm doing
string str = fileUpload1.FileName.ToString();
str = fileUpload1.GetType().ToString();
int lenght = fileUpload1.PostedFile.ContentLength;
byte[] data = new byte[lenght];
fileUpload1.PostedFile.InputStream.Read(data, 0, lenght);
clssCMDDoc.DocumentUpload(data, ".pdf", lblCodeDoc.Text);//convert the file as varbinary in the database
...
Go to the complete details ...