S
Sean
Hi,
I have a datagrid, which gets populated using a Stored Procedure
I am using the standard sort comman
Sub dg_SortCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridSortCommandEventArgs) Handles dgPriceList.SortComman
Tr
BindData(e.SortExpression
Catch ex As Exceptio
lberror.Text = ex.Message & "<br>" & ex.Source & "<br>" & ex.StackTrac
End Tr
End Su
The regular sort works perfectly, is there a way i can get to do a bi-directional sor
I did go thru' the list and there was a link (http://www.v4cnet.com/) and also an snippet of code, but it was not able to recognize the e.sortexpression.tostring() + "Desc
if(SortExpression==e.SortExpression.ToString()) //Change the sort order to DES
SortExpression = e.SortExpression.ToString() +" DESC"
else //Change the sort order to AS
SortExpression = e.SortExpression.ToString()
tr
//Bind the Grid Dat
BindGridData()
catch(Exception ex
throw ex
So, what i would like to know, if there is someway, i could get a bi-directional sort
Thank yo
I have a datagrid, which gets populated using a Stored Procedure
I am using the standard sort comman
Sub dg_SortCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridSortCommandEventArgs) Handles dgPriceList.SortComman
Tr
BindData(e.SortExpression
Catch ex As Exceptio
lberror.Text = ex.Message & "<br>" & ex.Source & "<br>" & ex.StackTrac
End Tr
End Su
The regular sort works perfectly, is there a way i can get to do a bi-directional sor
I did go thru' the list and there was a link (http://www.v4cnet.com/) and also an snippet of code, but it was not able to recognize the e.sortexpression.tostring() + "Desc
if(SortExpression==e.SortExpression.ToString()) //Change the sort order to DES
SortExpression = e.SortExpression.ToString() +" DESC"
else //Change the sort order to AS
SortExpression = e.SortExpression.ToString()
tr
//Bind the Grid Dat
BindGridData()
catch(Exception ex
throw ex
So, what i would like to know, if there is someway, i could get a bi-directional sort
Thank yo