473,382 Members | 1,615 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

ASP will not display SQL text datatype

I just modified a SQL table field's datatype from char to text to accomodate
more text, and suddenly the results are not being displayed on my webpage.

Has anyone encountered this before?

Thanks, Amanda
Jul 22 '05 #1
3 2498
Do you see the data in a view-source?

If not, this? http://www.aspfaq.com/show.asp?id=2188

Ray at work

"Amanda H" <am*****@southwind.org> wrote in message
news:1U*******************@twister.southeast.rr.co m...
I just modified a SQL table field's datatype from char to text to accomodate more text, and suddenly the results are not being displayed on my webpage.

Has anyone encountered this before?

Thanks, Amanda

Jul 22 '05 #2
Yes, I can see data in Enterprise Manager.

I've gotten around the problem by changing the datatype to nvarchar, but I
don't know much about what that datatype is...

- Amanda

"Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
message news:ex**************@tk2msftngp13.phx.gbl...
Do you see the data in a view-source?

If not, this? http://www.aspfaq.com/show.asp?id=2188

Ray at work

"Amanda H" <am*****@southwind.org> wrote in message
news:1U*******************@twister.southeast.rr.co m...
I just modified a SQL table field's datatype from char to text to

accomodate
more text, and suddenly the results are not being displayed on my webpage.
Has anyone encountered this before?

Thanks, Amanda


Jul 22 '05 #3
Amanda,

You need to name your columns in the SELECT statement and put the column of
Text datatype last. i.e. don't do SELECT *

Then in your ASP, retrieve those columns in the same order as your SELECT
statement.

See if that helps.
"Amanda H" <am*****@southwind.org> wrote in message
news:1U*******************@twister.southeast.rr.co m...
I just modified a SQL table field's datatype from char to text to accomodate more text, and suddenly the results are not being displayed on my webpage.

Has anyone encountered this before?

Thanks, Amanda

Jul 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Andrew S. Giles | last post by:
Hello, I am importing a flat text file, and putting it into a datagrid for display on a form. Currently the users have their dates and times seperated. I have two fields, therefore in the...
3
by: Leo | last post by:
Thanks for the Help in Advance!! I am a beginner in VB.Net. I am trying to create a form which is displayed in a email for our customers to fill in a Request for quote. I would like them to type...
3
by: eric_caron_31 | last post by:
Here's my problem, I read numeric value and I want to display this value like this : 123 678. Value read : 123678 Value display : 123 678 I want space for separator thanks for your help
2
by: Olav Tollefsen | last post by:
I'm creating an ASP.NET e-commerce web site and I have to conditionally (depending on site / user settings) display prices either excluding or including tax. Prices are typically read from a...
1
by: voidfill3d | last post by:
I have a field in a table that is of the datatype "Text". I also have a store procedure which updates this field and has a parameter of the same datatype ("Text"). However, in ASP.NET,...
3
by: den 2005 | last post by:
Hi everyone, Here is code working on..Trying to insert record with a column with Image or VarBinary datatype in sql database from a existing jpeg image file, then retrieve this image from...
0
by: mathewgk80 | last post by:
Hi, I have a table named "Categories". It has 3 fields category id,categoryname,description. the datatype of categoryname is varchar. i wanna retrieve the categoryname from Categories...
0
parshupooja
by: parshupooja | last post by:
Contact Reply 1 point Member propoo Joined on 08-31-2007, 10:32 PM Posts 3 Hey all ,
0
by: JamesOo | last post by:
I have the code below, but I need to make it searchable in query table, below code only allowed seach the table which in show mdb only. (i.e. have 3 table, but only can search either one only,...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.