Online Home
byte[] bytes = file.FileData;
Response.Clear();
Response.ContentType = file.ContentType;
Response.BinaryWrite(bytes);
https://www.aspsnippets.com/questions/206135/Open-Show-Base64-PDF-data-in-new-window-Tab-using-C-and-VBNet-in-ASPNet/
No comments:
Post a Comment