protected void gv1_Sorting(object sender, GridViewSortEventArgs e) { string sdir = e.SortDirection == SortDirection.Ascending ? "DESC" : "ASC"; DataView dv = new DataView(ds2.AllocationPending(ClientLoggedIn.Text)); dv.Sort = e.SortExpression + " " + sdir; gv1.DataSource = dv; gv1.DataBind(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)