G
GregSR
I'd like to know if .Net has something that would make the
following easier:
Pass an array (no more than 300 elements) of classes and a
class property name (property would be either string or
int) to a method that would return
the array with the classes sorted in either ascending or
descending order based on the class property name. The
purpose of
this method would be to allow users to sort a table
containing, for example, employee ID's and employee names,
in ascending or
descending order without returning to the database.
Is there something in .Net that would make this easier to
accomplish?
thanks.
following easier:
Pass an array (no more than 300 elements) of classes and a
class property name (property would be either string or
int) to a method that would return
the array with the classes sorted in either ascending or
descending order based on the class property name. The
purpose of
this method would be to allow users to sort a table
containing, for example, employee ID's and employee names,
in ascending or
descending order without returning to the database.
Is there something in .Net that would make this easier to
accomplish?
thanks.