Click here to Skip to main content
16,018,006 members
Home / Discussions / C#
   

C#

 
QuestionSorting Multiple columns On gridview Pin
kibromg24-Jul-07 1:32
kibromg24-Jul-07 1:32 
AnswerRe: Sorting Multiple columns On gridview Pin
kubben24-Jul-07 2:11
kubben24-Jul-07 2:11 
GeneralRe: Sorting Multiple columns On gridview Pin
kibromg24-Jul-07 3:51
kibromg24-Jul-07 3:51 
GeneralRe: Sorting Multiple columns On gridview Pin
kubben24-Jul-07 3:54
kubben24-Jul-07 3:54 
GeneralRe: Sorting Multiple columns On gridview Pin
kibromg24-Jul-07 4:06
kibromg24-Jul-07 4:06 
GeneralRe: Sorting Multiple columns On gridview Pin
kubben24-Jul-07 4:13
kubben24-Jul-07 4:13 
GeneralRe: Sorting Multiple columns On gridview Pin
kibromg24-Jul-07 4:22
kibromg24-Jul-07 4:22 
GeneralRe: Sorting Multiple columns On gridview Pin
kubben24-Jul-07 4:27
kubben24-Jul-07 4:27 
Well, then you have some more work to do. First you have to implement the gridviewSorting event.

That will tell you what the sortexpression and sortdirection are. Then you will need to take the defaultview of your datatable and set the Sort property. Once the dataview.sort property has been set the sort will have been changed. You will probably have to re bind your gridview to the sorted dataview.

Ben
GeneralRe: Sorting Multiple columns On gridview Pin
kubben24-Jul-07 4:28
kubben24-Jul-07 4:28 
GeneralRe: Sorting Multiple columns On gridview Pin
kibromg24-Jul-07 4:35
kibromg24-Jul-07 4:35 
GeneralRe: Sorting Multiple columns On gridview Pin
kubben24-Jul-07 4:44
kubben24-Jul-07 4:44 
GeneralRe: Sorting Multiple columns On gridview Pin
kibromg25-Jul-07 1:48
kibromg25-Jul-07 1:48 
GeneralRe: Sorting Multiple columns On gridview Pin
kubben25-Jul-07 1:52
kubben25-Jul-07 1:52 
GeneralRe: Sorting Multiple columns On gridview Pin
kibromg25-Jul-07 2:09
kibromg25-Jul-07 2:09 
QuestionRegular expression problem Pin
Markus Pylvnen24-Jul-07 1:30
Markus Pylvnen24-Jul-07 1:30 
AnswerRe: Regular expression problem Pin
Guffa24-Jul-07 2:04
Guffa24-Jul-07 2:04 
GeneralRe: Regular expression problem Pin
Markus Pylvnen24-Jul-07 19:04
Markus Pylvnen24-Jul-07 19:04 
QuestionDB access of multiple clients Pin
User 269896724-Jul-07 1:26
User 269896724-Jul-07 1:26 
AnswerRe: DB access of multiple clients Pin
il_masacratore24-Jul-07 21:43
il_masacratore24-Jul-07 21:43 
QuestionVisual Studio sdk - context menu Pin
ceejeeb24-Jul-07 1:16
ceejeeb24-Jul-07 1:16 
GeneralRe: Visual Studio sdk - context menu Pin
Martin#24-Jul-07 1:47
Martin#24-Jul-07 1:47 
GeneralRe: Visual Studio sdk - context menu Pin
ceejeeb24-Jul-07 2:01
ceejeeb24-Jul-07 2:01 
AnswerRe: Visual Studio sdk - context menu Pin
ceejeeb24-Jul-07 3:05
ceejeeb24-Jul-07 3:05 
Questionchanging the sattlite assembly after deployement Pin
Prajin24-Jul-07 1:01
Prajin24-Jul-07 1:01 
QuestionSetting background transparent for using shockwaveFlash control on .NET? Pin
Newgoldenman24-Jul-07 0:42
Newgoldenman24-Jul-07 0:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.