Author: xthjan | Posted on: 6/11/2008 12:21:59 PM | Views : 724

Hi everybody...
 
Well i've got stored some pdf in a database in a column binary data type.
 
In my page y want to se embeded these pdf whit a <embed> or <object> tag, but i don't wanna download the files, i only want to show them in the tags.
 
I recover the files with an aspx page with this code:
 ----this file is called pCreaArchivo.aspx

            nArchivosAdjuntos lob = new nArchivosAdjuntos(); // bussines layer to get back the info from the database
            int lnuId =Int32.Parse( Request["idFile"].ToString());
            string lnuSol = Request["solicitud"].ToString();
            lob.pnuArchivoId = lnuId;
    &n ...

Go to the complete details ...