Click here to Skip to main content
15,886,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello All,

I am having a column in my datagridview. This column contains "Get Value" in each cell.

When I click on the "Get Value" it perform some calculations and display the value in the clicked cell. The result is of Integer type.

Now I want to sort it like Integer then the text, like :

1
15
150
Get Value
Get Value
Get Value
Get Value
.
.
.
.
.
.

Awaiting your response.

Thanks
Kapil
Posted

1 solution

To customize sort in a datagridview, go through this article - How to: Customize Sorting in the Windows Forms DataGridView Control[^].
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900