sort listview by date
Have now got the sort working by date using code belowThe code also sorts by A-Z, numerically or by date if neededAdded this into my main form to allow sorting by clicking on a column:-Private...
View Articlesort listview by date
if that column is Date type, then the following doc may be helpful.http://msdn.microsoft.com/en-us/library/ms996467.aspxremember make the reply as answer and vote the reply as helpful if it helps.
View Articlesort listview by date
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click ListView1.View = View.Details ListView1.Columns.Add("Expiry Date", 130) ListView1.Columns.Add("Customer Name", 130)...
View Articlesort listview by date
Hi Darren,then you have to sort the data manually before you add these. Show us a little bit code for better understanding.Jens Gerber
View Articlesort listview by date
Hi JensYes sorry I did mean a listview not a listbox - have corrected original postThe source of the data is just name/date added from the result of a query against outlook contacts - no database...
View Articlesort listview by date
Hi Darren,I guess you are using a Listview and not a Listbox, because a normally Listbox has just one column. The Question is, what is the Source of your data. In case it is a Database you can sort the...
View Articlesort listview by date
HiI have a listview control with two columns, column 1 contains a name and column 2 contains dates e.g. 11/10/2014 (D/M/YYYY)I need to sort it into date orderHow can I do thisHave tried using the...
View Article