Solved

Binding Long Text to textarea

Posted on 2006-07-17
3
317 Views
Last Modified: 2010-07-27
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
Comment
Question by:equentin
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
apresto earned 250 total points
ID: 17121850
Hi equentin,

have you tried casting it as text in the Sql

SELECT Cast( NtextField as text ) FROM ...

Apresto
0
 

Author Comment

by:equentin
ID: 17121913
I've just tried that, and the same result I'm afraid.  Extremely odd (and more than a little frustrating!)...
0
 

Author Comment

by:equentin
ID: 17122185
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now