private void FpSpread1SortColumnCommand(object sender, FarPoint.Web.Spread.SpreadCommandEventArgs e)
{
FarPoint.Web.Spread.SheetView sv;
sv = e.SheetView;
Response.Write("The column sorted was " + sv.SortedColumn.ToString());
}
Private Sub FpSpread1SortColumnCommand(ByVal sender As Object, ByVal e As FarPoint.Web.Spread.SpreadCommandEventArgs) Handles
FpSpread1.SortColumnCommand
Dim sv As FarPoint.Web.Spread.SheetView
sv = e.SheetView
Response.Write("The column sorted was " & sv.SortedColumn.ToString())
End Sub