R
Ronald S. Cook
I bring back a list of Employees as an IEnumerable of Employee... columns
include EmployeeId, EmployeeLastName, etc.
I want to bind the IEnumerable to a datagrid BUT I want the grid to have an
extra column, a checkbox for the user to select some employees and not
others.
I will then use this information, but the checkbox column does not
correspont to a column in the Employee table to get updated.
Is there a way I can add a column to an IEnumerable? What is a "normal" way
to do what I'm trying to do?
I can convert the IEnumerable to a DataTable and add a column to it and then
bind to the datagrid, but that seems like a hack.
Thanks for any help,
Ron
include EmployeeId, EmployeeLastName, etc.
I want to bind the IEnumerable to a datagrid BUT I want the grid to have an
extra column, a checkbox for the user to select some employees and not
others.
I will then use this information, but the checkbox column does not
correspont to a column in the Employee table to get updated.
Is there a way I can add a column to an IEnumerable? What is a "normal" way
to do what I'm trying to do?
I can convert the IEnumerable to a DataTable and add a column to it and then
bind to the datagrid, but that seems like a hack.
Thanks for any help,
Ron