L
LRW
Is it possible?
Here's the opening block of my datalist in the ASPX page,
and I was wondering if there's a way to sort the output by
a particular field:
<asp:datalist ID="dgProducts" runat="server"
Width="100%" Border="0"
HorizontalAlign="Left" EditItemStyle-
HorizontalAlign="left" ItemStyle-HorizontalAlign="left"
CssClass="text" CellPadding="4" CellSpacing="4"
RepeatDirection = "Vertical"
RepeatColumns="3" >
<ItemTemplate>
I've tried doing it at the dataview with a line:
dvContent.Sort = "PRD_ID ASC"
but that didn't change anything.
Thanks for any suggestions!
Liam
Here's the opening block of my datalist in the ASPX page,
and I was wondering if there's a way to sort the output by
a particular field:
<asp:datalist ID="dgProducts" runat="server"
Width="100%" Border="0"
HorizontalAlign="Left" EditItemStyle-
HorizontalAlign="left" ItemStyle-HorizontalAlign="left"
CssClass="text" CellPadding="4" CellSpacing="4"
RepeatDirection = "Vertical"
RepeatColumns="3" >
<ItemTemplate>
I've tried doing it at the dataview with a line:
dvContent.Sort = "PRD_ID ASC"
but that didn't change anything.
Thanks for any suggestions!
Liam