T
Tavish Muldoon
Help!
I am trying to write an ASP.NET app.
I have a Jet (Access) database file which is read in by a dataadapter
(daTracks). I have bound that to a data grid (dgTracks). Using the
property builder, I allowed sorting.
The table has 6 fields Author, Duration, Musicians, Track Name, Track
ID, Track Number.
I want all to be sortable. But what do I put down in the code behind
to make this work?
I noticed a sort method for the datagrid (dgTracks):
dgTracks_SortCommand(ByVal source As Object, ByVal e As
System.Web.UI.WebControls.DataGridSortCommandEventArgs) Handles
dgTracks.SortCommand
But I am not sure proceed from here.
Suggestions? Examples?
Thanks,
Tmuld.
I am trying to write an ASP.NET app.
I have a Jet (Access) database file which is read in by a dataadapter
(daTracks). I have bound that to a data grid (dgTracks). Using the
property builder, I allowed sorting.
The table has 6 fields Author, Duration, Musicians, Track Name, Track
ID, Track Number.
I want all to be sortable. But what do I put down in the code behind
to make this work?
I noticed a sort method for the datagrid (dgTracks):
dgTracks_SortCommand(ByVal source As Object, ByVal e As
System.Web.UI.WebControls.DataGridSortCommandEventArgs) Handles
dgTracks.SortCommand
But I am not sure proceed from here.
Suggestions? Examples?
Thanks,
Tmuld.