hey all
I have a small but very annoying problem.
I collect two sets of data from two different databases, This data is now in two collections. I then join/append the one collection to the other and then put it in to a list view.
That part works
I really would like to order this list view by the first column without the click event.
To make this even harder the First column contains Data that is DateTime and i have found that it orders the items by the day number and not the months or years or time.
I have found one way but it then cause's me further agony when doing some checks upon the data within the listview later in my code. This answer is to rearrange the format to "yyyy-MM-dd HH:mm:SS"
then using the listview.sortin g = sortorder.The order you wish
Any suggestions would be muchly appreciated
cheers
Truez
I have a small but very annoying problem.
I collect two sets of data from two different databases, This data is now in two collections. I then join/append the one collection to the other and then put it in to a list view.
That part works
I really would like to order this list view by the first column without the click event.
To make this even harder the First column contains Data that is DateTime and i have found that it orders the items by the day number and not the months or years or time.
I have found one way but it then cause's me further agony when doing some checks upon the data within the listview later in my code. This answer is to rearrange the format to "yyyy-MM-dd HH:mm:SS"
then using the listview.sortin g = sortorder.The order you wish
Any suggestions would be muchly appreciated
cheers
Truez
Comment