Datagrid sorting by column ....?

Srikanthv

Member
Joined
Jul 3, 2006
Messages
18
Programming Experience
5-10
Hi,

In my Datagrid column have data in the order of
---------
|data1 |
---------
|data120|
---------
|data2 |
---------
|data210|
---------
|data3 |
---------

But I need Data in sort of
---------
|data1 |
---------
|data2 |
---------
|data3 |
---------
|data120|
---------
|data210|
---------

Please provide me solution. I dont want SQl sort Answer. Is there any chance to DataGrid Can sort in this format.
 
I'm going to have to assume a bit here. You've bound your datagrid to a datatable or some other datasource, and when the data is displayed the columns are not in the order you would like. Have you used the wizard to fill your datatable or did you do it in code? You can sort this out with TableMappings i believe if i'm understanding your question correctly.
 
Back
Top