Hi,
I'm new to here and vs2008. can anyone please help me with the code for sorting data in listview?
Never tried = Never known
hi
this is a step by step guide to it ,
I will also post a code ASP. till try this
http://support.microsoft.com/kb/319401/EN-US
Melick UCSC
BICT,MCP,MCTS,BIT
http://melick-rajee.blogspot.com
Thank you for the reply. I've already seen this and I want to do this by visual basic, not by the c#. I set the listview sort order property to Ascending but it didn't work for me.
in my program I have 8 columns - RedID, Customer Name, Address, Date, Amount, Date,...etc..
I want to sort all data by the date.
any would be appreciated..
Thank You...
if U want to sort it for one time U can do it when u query it.
like select RedID, Customer Name, Address, Date, Amount, Date from <table name> order by Date Desc
Krishantha DineshSenior Systems EngineerEW-Information systems (EWIS)
Thank you Krishantha. I'll try that and will let you know.
http://www.codeproject.com/KB/grid/multicolumn_sort.aspx