Results 1 to 3 of 3
- 02-02-2008, 05:17 PM #1
Member
- Join Date
- Jan 2008
- Posts
- 4
- Rep Power
- 0
Problem with applying Sql order by to html table
Hi to all,
I am having a web page,I want to apply sql order by command to html table.
TestCase_asc=select * from mytable order by testcase asc;
TestCase_desc=select * from my tableorder by testcase desc;
user_asc=select * from mytable order by user asc;
user_desc=select * from my tableorder by user desc;
My html table:
TestCase User
test1 ANTONY
Count ZXc
Compare ABC
When user clicks on fields,Records should sort by calling above sql commands.
Any one please give me the code for this.
Thanks in advance
- 02-02-2008, 07:06 PM #2
Do you already have code to create the table, if so post it and then people can start to explain how you would change what you have
-- Hope that helps
- 02-04-2008, 10:20 AM #3
Member
- Join Date
- Jan 2008
- Posts
- 4
- Rep Power
- 0
Similar Threads
-
Problem with jTable that is binded with a table in MySQL Database
By rajkenneth in forum NetBeansReplies: 0Last Post: 03-29-2008, 03:36 PM -
Generate Excel Report from a HTML table
By Sudha in forum New To JavaReplies: 0Last Post: 02-13-2008, 08:24 PM -
Problem with sorting Table
By sireesha264 in forum Advanced JavaReplies: 0Last Post: 02-08-2008, 02:21 PM -
Showing ResultSet in HTML table
By Java Tip in forum Java TipReplies: 0Last Post: 01-27-2008, 08:09 PM -
Problem with '/' character in HTML and JSP
By Marcus in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 07-04-2007, 05:32 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks