1 Replies - 3085 Views - Last Post: 02 May 2012 - 07:41 AM Rate Topic: -----

#1 ken2010  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 38
  • Joined: 05-December 10

Sort datagridview rows in alphabetical order

Posted 02 May 2012 - 07:38 AM

Please can anyone help me with the code snippet to sort datagridview rows in alphabetical order?
Thanks. God bless in Jesus name.
Is This A Good Question/Topic? 0
  • +

Replies To: Sort datagridview rows in alphabetical order

#2 modi123_1  Icon User is offline

  • Suitor #2
  • member icon



Reputation: 8909
  • View blog
  • Posts: 33,398
  • Joined: 12-June 08

Re: Sort datagridview rows in alphabetical order

Posted 02 May 2012 - 07:41 AM

You can go in by the gui and tell it to sort a specific column for you, you could go into the dataset and manually order the rows, or you could just return them from a database sorted... and dear me - the datagridview has a 'sorted column' you could use!

http://msdn.microsof...rtedcolumn.aspx
Was This Post Helpful? 2
  • +
  • -

Page 1 of 1