0
I have this grid, and I would like to sort the columns in ascending order (ASC) how to do?
<asp:GridView ID="gridView1" runat="server" AllowPaging="False" AllowSorting="True" DataSourceID="sqlTeste"
AutoGenerateColumns="False" EmptyDataText="<%$ Resources:Mensagens, BuscaSemRegistros %>">
<Columns>
<asp:BoundField DataField="FUNDO" HeaderText="Fundo" SortExpression="NOME_FUNDO" />
<asp:BoundField DataField="NUM_MES" HeaderText="Mês de Referência" SortExpression="NUM_MES_ORDENACAO" />
<asp:BoundField DataField="COD_USUARIO" HeaderText="Usuário Responsável" SortExpression="COD_USUARIO" />
<asp:BoundField DataField="DTA_INCLUSAO" HtmlEncode="False" DataFormatString="{0:g}"
HeaderText="Data/Hora Inclusão" SortExpression="DTA_INCLUSAO">
</asp:BoundField>
</Columns>
</asp:GridView>
You will order all the fields?
– Marco Souza