naziatarannum -1 Junior Poster in Training

Hi All,
Please help me in this.
I'm a new member.
I have a page with grid view appearance, data is coming in from table. For each column of the grid I have a button to sort data in asc/desc order of that particular column.

I did this:
<recordset_name>.Sort="<column_name> DESC"

but on button click, how do I make this work dynamically, to sort based on the column button clicked. Because button click function is in javascript and setting sort column is in vbscript.


Please help in this regard.
I'm using javascript and vbscript.


Thanks,
Nazia

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.