Olá,您正在使用pdf格式的数组,请使用字节数组来保护您的银行,并使用pegar do banco格式的字符串。德斯塔格式:
Dim aFile As String = System.Convert.ToBase64String(arrayByte)
转换问题的文字字符串,然后在客户端(最终版本)上进行可视化或PDF转换。utilizando VB.Net
Vi uma pergunta parecida,com a resposta em c#,masnãome serviu。
public ActionResult DisplayPDF()
{
byte[] byteArray = GetPdfFromDB();
return new FileContentResult(byteArray, "application/pdf");
}
[Tentei Adaptar o treco em c#masnãoconsegui,preciso que seja em VB.Net