dtGridView.Sorting += new GridViewSortEventHandler(dtGridView_Sorting);
void dtGridView_Sorting(object sender, GridViewSortEventArgs e) { } dtGridView.AllowSorting = true;
SPBoundField boundField; boundField = new SPBoundField(); boundField.HeaderText = "status" boundField.DataField = "status" boundField.SortExpression = "status" dtGridView.Columns.Add(boundField);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)