I saved a word document to a sql server database and now I would like to read it out of the
database. All appears to run normal. When the document is read, I am prompted to save the
word document or open it. If I open it, nothing is displayed in the document. I checked the
database and the document is in the database table I am reading from. I was wondering if
anyone has any experience reading binary data from a database table?
Here is the code I use to read my document.
{
string connString = ConfigurationManager.ConnectionStrings["VCRConnectionString"].ConnectionString;
SqlConnection VCRsConn = new SqlConnection(connString);
SqlCommand command = new SqlCommand("getem", VCRsConn);
SqlDataAdapter adapter = new SqlDataAdapter(command); ...
Go to the complete details ...