Good day, gurus of this well-known site. I am using vb.net 2013 Ultimate and SQL 2012 and can someone show/link me how to save and retrieve a word document from SQL database? Thanks
Benniit
0
Newbie Poster
Recommended Answers
Jump to PostI'm not up to SQL 2012 yet (I'm using 2008) but this works for me.
My table is
FileName VARCHAR(255) (PK) WordDoc VARBINARY(MAX)
To get the data into the table you have to read the Word document into a Byte array as binary. When you want …
All 4 Replies
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
ricric.ferrancullo
0
Newbie Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
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.