Click here to Skip to main content
15,884,628 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to Implementquicksort in datagridview column c#
Posted
Comments
Richard MacCutchan 31-Jan-15 6:44am    
You should edit your question and show the code you have written, and explain what problems you have with it.
[no name] 31-Jan-15 6:52am    
What is the Problem? QuickSort or DataGridView? Try to first solve quicksort and if that is solved Show the result in datagridview....otherwhise you will end in quickgridview.
John A. Intes 31-Jan-15 7:12am    
i don't have the codes right now. .its in my laptop
I have implemented it once with an array of strings, but it only displays in the listbox1 which is my listbox from my datagridview. .
my datargridview has data in it and i like to sort a column which is the "Name" using the quicksort method..
can u help me with this??
Richard MacCutchan 31-Jan-15 7:27am    
I already suggested what you need to do. Please do not expect people to guess what your code does; we cannot see your screen or read your mind.
John A. Intes 31-Jan-15 7:31am    
oh .I'm very sorry. .I'll just post my codes tommorow. I don't have my laptop with me now. .
Ei, Richard can i ask last question? Have you implemented quicksort in datatable? If so, can you send me your codes if it's ok with you.
thanks

1 solution

What is the Problem? QuickSort or DataGridView? Try to first solve quicksort and if that is solved show the result in datagridview....otherwhise you will end in quickgridview.

QuickSort:
http://en.wikipedia.org/wiki/Quicksort[^]
Bruno
 
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