T
Ty
I have a SQL server 2000 DB that Ihave copied onto my PC and am using
SQL server express 2005 to view.
I created a project in VB.net and am reading the data out of the DB
using System.Data.SqlClient
Here is the problem. I am redaing the table fields into variables. All
are fine except one.
The table has one field that is a binary data type. This field holds
anything from a block of text to MS Word docs, Excel spread sheets,
and images.
I made the variable int a Object type "Dim vararticle As Object"
The data seems to be placed into the variable.
In this instance I know that the data is just a block of text about a
paragraphs worth. I thought I could place it into a textbox like this
TextBox1.Text = vararticle but no luck.
So the question is how do I get it out of the variable and into the
textbox?
Thanks,
Ty
SQL server express 2005 to view.
I created a project in VB.net and am reading the data out of the DB
using System.Data.SqlClient
Here is the problem. I am redaing the table fields into variables. All
are fine except one.
The table has one field that is a binary data type. This field holds
anything from a block of text to MS Word docs, Excel spread sheets,
and images.
I made the variable int a Object type "Dim vararticle As Object"
The data seems to be placed into the variable.
In this instance I know that the data is just a block of text about a
paragraphs worth. I thought I could place it into a textbox like this
TextBox1.Text = vararticle but no luck.
So the question is how do I get it out of the variable and into the
textbox?
Thanks,
Ty