T
TJS
Any examples or tips on how to add sorting to a repeater column header ?
Jeebu said:hi,
its possible.suppose ds is the name of the dataset.
create a view
dataview dv;
dv=ds.tables[0].defaultView;
dv.RowFilter="Name='joan'";
if u want to sort
dv.sort="Name ASC";
grid.datasource=dv;
grid.databind()
cheers
jeebu
TJS said:Any examples or tips on how to add sorting to a repeater column header ?
TJS said:thanks,
but I was wondering not about the query, but how to send the 'asc' or 'desc'
command to the query.
Jeebu said:hi,
its possible.suppose ds is the name of the dataset.
create a view
dataview dv;
dv=ds.tables[0].defaultView;
dv.RowFilter="Name='joan'";
if u want to sort
dv.sort="Name ASC";
grid.datasource=dv;
grid.databind()
cheers
jeebu
TJS said:Any examples or tips on how to add sorting to a repeater column header ?