Currently I am doing:
var items = from t in entity.Items
select new
{
Name = t.ItemName,
Description = t.ItemDescription
};
myDataGridView.DataSource = items.ToList();
The problem is that when bound to the DataGridView, I get two columns of "Name" and "Description". I want to rename these to "Item Name" and "Item Description" (example).
If I add an unbound Column to the datagridview, it just gets displayed along with my columns. I can not seem to create a databound column.