Click here to Skip to main content
15,891,777 members
Articles / Programming Languages / Visual Basic

Saving a pdf file to SQL Server and displaying it back to VB.Net

Rate me:
Please Sign up or sign in to vote.
4.00/5 (1 vote)
11 Nov 2020CPOL 57K   1  
Hi guys,I am working on a project and here's what i want to do:1. to allow a user to browse a pdf file and that pdf file will be saved to the sql server database.2. to display that data in a datagridview from the sql server and if a the user selects the row of data of that pdf file...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
24 Apr 2012OriginalGriff
I use a similar system, but not just for PDF files.The way I do it is to put a link to an aspx file as my table link: /// /// Add a download file's information to a table row. /// /// /// private...
Please Sign up or sign in to vote.
7 Oct 2012Azmy
coding to diplaying pdf in form .Net :Quote:cmd = New OleDbCommand("select * from tb_pdf where id_pdf ='" & txt_cari.Text & "'", pasoe) rd = cmd.ExecuteReader rd.Read() If rd.HasRows Then Dim fs As FileStream = Nothing Dim ds As DataSet ...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Junior)
Philippines Philippines
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions