|
-
September 2nd, 2008, 02:59 AM
#1
VB.NET 2008 EE + MS Access
hey guys!
i'm not really sure where to post this..
i've got this vb.net program that gets all of its data from a database.. but i'm having problem sorting.. how do i do it..??
this is the code in my query:
Code:
SELECT *
FROM Student;
i need to sort the surname alphabetically & the given name.. if there are students who has the same surname, the given name should be sorted alphabetically as well...
the output is written in an html file..
Last edited by manil; September 2nd, 2008 at 03:03 AM.
-
September 2nd, 2008, 05:46 AM
#2
Re: VB.NET 2008 EE + MS Access
SELECT * FROM Student ORDER BY SurName, GivenName;
-
September 2nd, 2008, 10:23 PM
#3
Re: VB.NET 2008 EE + MS Access
i was able to get it sorted.. but i'm having problem with my output..
i need to get something like this..

but i always get this..
-
September 3rd, 2008, 05:27 AM
#4
Re: VB.NET 2008 EE + MS Access
You will need to post some of your code. Otherwise, we have no idea what you want or what your problem could be.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|