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..
Re: VB.NET 2008 EE + MS Access
SELECT * FROM Student ORDER BY SurName, GivenName;
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..
http://img376.imageshack.us/img376/120/68468560io9.jpg
but i always get this..
http://img392.imageshack.us/img392/7696/73395825od2.jpg
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.