Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



Reply
Displaying records ordered by field
Old 03-24-2006, 12:13 PM Displaying records ordered by field
sandbox's Avatar
Extreme Talker

Posts: 153
Trades: 0
This is weird,

I,m trying to diplay records and order them highest first, code is like this:

"select top 10 * from table order by number DESC"

The order comes like this:
9
85
72
600
55

Whats that all about
__________________
¦
Please login or register to view this content. Registration is FREE
s ¦
Please login or register to view this content. Registration is FREE
¦
Please login or register to view this content. Registration is FREE
sandbox is offline
Reply With Quote
View Public Profile Visit sandbox's homepage!
 
 
Register now for full access!
Old 03-24-2006, 12:34 PM Re: Displaying records ordered by field
sandbox's Avatar
Extreme Talker

Posts: 153
Trades: 0
OOps I know what it was now. Database field was in text format not number.
I've got a better asp question:
How do you run an asp include file from a htlm page?
I tryed just using include tag but it doesn't run from htm page (will run from asp page though)
__________________
¦
Please login or register to view this content. Registration is FREE
s ¦
Please login or register to view this content. Registration is FREE
¦
Please login or register to view this content. Registration is FREE
sandbox is offline
Reply With Quote
View Public Profile Visit sandbox's homepage!
 
Old 03-24-2006, 12:53 PM Re: Displaying records ordered by field
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
You can't.

HTML is nothing more than static output. It only spits out what it sees...no more, no less.

The only way you can call an ASP include file and have it run is from an ASP page.

I think you can, however, call an HTML include from an ASP page.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 03-27-2006, 08:47 AM Re: Displaying records ordered by field
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
I think you can add the html extention to the application mappings in IIS (go to the properties of the website or virtual directory, and then click the Configuration button under Application Settings in the Home Directory tab)

Or just use the .shtm or .shtml extentions which are already mapped.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Reply     « Reply to Displaying records ordered by field
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.70809 seconds with 12 queries