J
Jim
Hello,
I am creating a windows form application using vb.net 2003 which displays
data in a datagrid, and then, if the user wants, I produce a nicely
formatted crystal report of the data.
The question I have is: if I allow the user to sort the datagrid by
clicking on the column header, is there any way that I can tell which column
the datagrid is sorted on, so that I can sort the data in the crystal report
the same way?
I have not been able to find anything which tells me the current sort for
the datagrid, nor can I figure out how to override the header column click
so that I can set a variable in it...
Any help would be appreciated!
Thanks!
Jim
I am creating a windows form application using vb.net 2003 which displays
data in a datagrid, and then, if the user wants, I produce a nicely
formatted crystal report of the data.
The question I have is: if I allow the user to sort the datagrid by
clicking on the column header, is there any way that I can tell which column
the datagrid is sorted on, so that I can sort the data in the crystal report
the same way?
I have not been able to find anything which tells me the current sort for
the datagrid, nor can I figure out how to override the header column click
so that I can set a variable in it...
Any help would be appreciated!
Thanks!
Jim