query = query.OrderBy(p => p.FormName, options.SortDirection);
It doesn't support with opention.SortDirection
"mvcgrid.models.sortdirection is not assignable to parameter type system.collection generic.icomparer"
I could not use this statement to sort my data in grid.
query = query.OrderBy(p => p.FormName, options.SortDirection); It doesn't support with opention.SortDirection "mvcgrid.models.sortdirection is not assignable to parameter type system.collection generic.icomparer"
I could not use this statement to sort my data in grid.