Hello,

how to insert a pdf file in database(ms access) using vb.net

anybody can help me please? thanks ^_^

Recommended Answers

All 4 Replies

I am sorry if I am mistaken but I don't know if it is possible to insert a full PDF file into a database. But I might be wrong. My other question would be, why would you need a PDF file stored in a database? Could you store the PDF file on your computer/server and then possibly store the file location in the database and then display the file when you need to display the PDF?

how to insert a pdf file in database

Read the file into a binary stream and store the same into a database table.

storing or saving pdf file is the best way to know, actually i manually type the information to my system based on my pdf information but through database i want to store the pdf file to my database. it's a part of evidence or a prove right?. what if i'm going to save a file path on my database... then accidentally deleted the pdf file???

thanks for the opinion... :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.