DB COMBO

databases United States
  • 19 years ago

    Is there any way of making the list inside a DBCombo control be put in alphabetical order. Any help appreciated.


    Tom.

  • 19 years ago

    tomtom- said:

    Quote:
    Is there any way of making the list inside a DBCombo control be put in alphabetical order. Any help appreciated.


    Tom.


    Sort ascending on on the field you are binding to the DBCombo.  Put ORDER BY fieldname ASC in the query that is filling the DBCombo

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” - Rick Osborne