Click here to Skip to main content
13,049,814 members (75,579 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I have a dataGridView control in my Windows Form Application, in which some columns are available.There is a column viz; 'Month' this is the first column which is already sorted alphabetically(April, August,December etc), I want to sort it on monthly basis(January, February, March etc). I am developing it by using C# and SQL Server 2005. Please help me
Posted 11-Feb-13 7:04am
You need to use a month number column to sort your data select statement and don't add this column to your dataGridView control.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 11 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100