2
Answers

Can anybody help me to solve this?

Sapna

Sapna

14y
13.4k
1
I create a table "EmployeeProfile" in SQL and insert an image into that table as Employee Photo see below the complete query:

Insert EmployeeProfile (EmpId, EmpName, EmpPhoto)
Select 1001, 'Vadivel',
BulkColumn from Openrowset( Bulk 'D:\Image\VD.bmp', Single_Blob) as EmployeePicture
select * from EmployeeProfile

RESULT:

blo4.gif
You can see that the image is store in the form of HEX data now I want  to see this image in VB.NET. Can anybody help me to do that.
Answers (2)
0
Rajeesh Menoth

Rajeesh Menoth

NA 24.7k 629.4k 9y
Hi,
 
You can use "Spire.Pdf".Check the following reference.
 
Example :
 
http://codepedia.info/2015/08/create-pdf-in-asp-net-csharp-spire-net-turn-html-to-pdf/
 
https://rajeeshmenoth.wordpress.com/2015/06/24/convert-pdf-to-other-format-using-spire-pdf/
 
The answer is helpful.Then please accept it..!!
 
0
Aarush Rahaan

Aarush Rahaan

NA 2 0 9y
If you mean you want to convert HTML page to PDF, I found the following links that might help:
https://code.msdn.microsoft.com/Convert-from-HTML-to-PDF-09ce2a1d#content
http://www.c-sharpcorner.com/forums/how-to-convert-html-to-pdf-in-c-sharp

If this is not what you are trying to do, provide more details about what you want.
0
Vivek Kumar

Vivek Kumar

NA 7.6k 729.7k 9y
Hi Ronak
Please once see my article for your reference. 
 
http://www.c-sharpcorner.com/UploadFile/f4f047/generating-pdf-file-using-C-Sharp/ 
http://www.c-sharpcorner.com/blogs/create-table-in-pdf-using-c-sharp-and-itextsharp 
 
You can set border none as per your requirement if your are using table
 
 
---------------------------------------------------
If this post helps you, mark it as answer
 
0
Suresh M

Suresh M

NA 18.6k 1.5m 9y
You need use any library for creating PDF 
Sample http://csharp.net-informations.com/file/create-pdf.htm