• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 356
  • Last Modified:

Binding Long Text to textarea

I have an ntext field in my SQL Server database.  When binding the value to my field in the DetailsView textarea, all I get is the value "<long text>".  Any ideas why it's not showing the full text as it should?
0
equentin
Asked:
equentin
  • 2
1 Solution
 
aprestoCommented:
Hi equentin,

have you tried casting it as text in the Sql

SELECT Cast( NtextField as text ) FROM ...

Apresto
0
 
equentinAuthor Commented:
I've just tried that, and the same result I'm afraid.  Extremely odd (and more than a little frustrating!)...
0
 
equentinAuthor Commented:
Just worked it out, and I've been a complete idiot, and (as usual) it's completely unrelated...

Thanks for the assistance anyway, and I've given you the points.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now