CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2008
    Posts
    19

    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.

  2. #2
    Join Date
    Sep 2000
    Location
    FL
    Posts
    1,452

    Re: VB.NET 2008 EE + MS Access

    SELECT * FROM Student ORDER BY SurName, GivenName;

  3. #3
    Join Date
    May 2008
    Posts
    19

    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..


  4. #4
    Join Date
    Sep 2000
    Location
    FL
    Posts
    1,452

    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
  •  





Click Here to Expand Forum to Full Width

Featured