kvnsdr
asked on
Listview Sort Column Datatable?
I have a win app that searches a SQL database then loads a datatable 'da.fill(datatable1) which in turn fills a Listview. This datatable1 is then merged into another datatable like so: (I do this because somtimes I need to merge more tables to satisfy the Crystal Reports .rpt I created.
dtChanges = new DataTable();
dtChanges.Merge(datatable1 );
dtChanges.AcceptChanges();
This all works very will, but...
Q. How do I Sort the Listview columns and reload these datatables so the PDF looks like the Listview?
Q Do I need to export the Listview back into a datatable?
dtChanges = new DataTable();
dtChanges.Merge(datatable1
dtChanges.AcceptChanges();
This all works very will, but...
Q. How do I Sort the Listview columns and reload these datatables so the PDF looks like the Listview?
Q Do I need to export the Listview back into a datatable?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Q. How do I get the column name per column clicked by a user?