Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO.NET SQL-Server Text data type

Status
Not open for further replies.

ofsouto

Programmer
Apr 29, 2000
185
0
0
BR
Hi, dear

I need to get the full text of a text datatype collumn of a sql-server table.
I tried the example of this link ( and change getbytes to getchars and I didn't get the full
text. What's wrong? How can I get the full text?
Thank you very much.

Obede
Brazil
 
Can you please let us know what you are trying to do with this, are you writing it out to a file? If this is the case, would it be easier to hold it in an image type field which allows you to access the stream?
 
Hi, dear

I just got full text but there are some chr(13) characteres inside text. I think I'm using wrong encoding.

Obede
Brazil

 
If you are rendering this to a page in ASP.net you will need to replace all chr(13) with "<BR>", if thats not the problem, what exactly are you getting with regards to errors or badly displayed text?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top