Is it possiable to sort a DBGrid1 ?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Is it possiable to sort a DBGrid1 ?

  1. #1
    Join Date
    Sep 2004
    Location
    Northampton,United Kingdom
    Posts
    230

    Talking Is it possiable to sort a DBGrid1 ?

    HI

    I am just wondering of it is possiable to sort a DBGrid1 in to A-Z format ( I need to sort coloum 1)

    Is this possibale ?

    As the DBGrid1 is bound to the data1 control.

    If anyone know of some code or example that woudl be Fanatatsic

    Thanks

    Drew

  2. #2
    Join Date
    Nov 2003
    Location
    Alameda, CA
    Posts
    1,737
    if the grid is bound to a database, can't you sort the data from there like
    "Select * from mytable order by myField"
    Marco

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center