Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: sorting data


Message #1 by "Neetu Dhatt" <neetu_dhatt@h...> on Sun, 05 Jan 2003 10:31:00 +0000

ok this is what i am trying to do
I view my data based on the type of community i selected from the combo box
now when it loads that data i want an option(s) on that page so that i can sort my fields(all of them) in ascending or descending
order  (like buttons saying arrange data in ascending order of community, or ascending order of city etc.......)


can someone pleaseeeee help me with that....


 MSN 8 with e-mail virus protection service:  2 months FREE* 
Message #2 by Greg Griffiths <greg2@s...> on Sun, 05 Jan 2003 15:59:45 +0000
I've done it on the client side using Javascript arrays 
(http://www.greggriffiths.org/livelink/customisations/ for example), but 
you may be able to use ASP.Net or an ASP control to simulate this.

At 10:31 05/01/03 +0000, you wrote:


>ok this is what i am trying to do
>I view my data based on the type of community i selected from the combo box
>now when it loads that data i want an option(s) on that page so that i can 
>sort my fields(all of them) in ascending or descending order  (like 
>buttons saying arrange data in ascending order of community, or ascending 
>order of city etc.......)
>
>
>can someone pleaseeeee help me with that....
>
>
>  MSN 8 with e-mail virus protection service:  2 months FREE*
>



Message #3 by Bimal Panda <bimal@o...> on Sun, 5 Jan 2003 23:39:06 -0800 (PST)
HI neetu


Check the site http://soulmates.on-lyne.com.
search for members. Click on any links like profile id, age, religion , etc
 where the member listing is coming.then you will get as ascending or desce
nding order.R u lookins for same same type of solution or something other t
han that ?
Tell me in brief .

Bimal




--- "Neetu Dhatt" <neetu_dhatt@h...> wrote:
>
>
>ok this is what i am trying to do
>I=A0view my data based on the type of community i selected from the combo 
box
>now when it loads that data i want an option(s) on that page so that i can
 sort my fields(all of them)=A0in ascending or descending order=A0=A0(like 
buttons saying arrange data in ascending order of community, or ascending o
rder of city etc.......)
>
>
>can someone pleaseeeee help me with that....
>
>
>=A0MSN 8 with e-mail virus protection service:  2 months FREE*
>
>to unsubscribe send a blank email to leave-asp_databases-2069536K@p...
.com.

_____________________________________________________________
http://www.on-lyne.com - Seamless Solutions Across Borders !!

_____________________________________________________________
Select your own custom email address for FREE! Get you@y... w/No 
Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=3Dtag
Message #4 by "Ron Williams" <ronwilliams32@c...> on Tue, 7 Jan 2003 21:44:55
you can disply the data the same exact way you did the first time with 
ASP, but you would have to make another server request and requery the 
database with a query that sorts the data in a specified way.  if you want 
it to happen immediately, without a server request, that will require 
client side script.  

if you choose ASP option, use a submit button, one named 'sort asc' the 
other 'sort desc', and run your query and display accordingly.  you can 
pretty it up with a GIF or something if that is your concern.

hope this helps (i am not quite certain if i have the problem correct)

ron

> 

ok this is what i am trying to do
I view my data based on the type of community i selected from the combo box
now when it loads that data i want an option(s) on that page so that i can 
sort my fields(all of them) in ascending or descending order  (like 
buttons saying arrange data in ascending order of community, or ascending 
order of city etc.......)


can someone pleaseeeee help me with that....


 MSN 8 with e-mail virus protection service:  2 months FREE* 

  Return to Index