problem with sorting a datagrid

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Newbie

    problem with sorting a datagrid

    Hi!

    I am trying to let the user sort a column by clicking on the column header
    but not having any success. Pls. help.

    I have a BoundColumn and used the Data Field value for the SortExpression
    value.

    I dont know what to put inside the event handler:

    private void DataGrid_SortCo mmand(object source,
    System.Web.UI.W ebControls.Data GridSortCommand EventArgs e)
    {

    }

    Thanks in advance.
Working...