Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C#2.0
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
José Amílcar Ferreira Casimiro at 11-Feb-13 16:57pm
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
Your Filters
0 Shai Vashdi 1,398
1 OriginalGriff 508
2 Manas Bhardwaj 383
3 Damith Weerasinghe 330
4 Tadit Dash 310
0 Sergey Alexandrovich Kryukov 9,575
1 OriginalGriff 6,006
2 Peter Leow 4,500
3 Maciej Los 3,540
4 Abhinav S 3,513

Advertise | Privacy | Mobile
Web01 | 2.8.140415.2 | Last Updated 11 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid