getting ntext datatype

R

Rippo

I am returning a datatable from a stored procedure and then iterating
through the columns. I am trying to find out if a column has the sql
data type of ntext. In .net the datatype of a sql ntext column is
System.String. .Net also returns System.String for varchar, char, text,
nvarchar and nchar. This obviously does not help me as I want to
identify the ntext column

I have searched for this and cannot find the answer in .net. I can
however query the database for the column datatype but this seems like
overkill.

Can any help?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top