I want to bind my ListView control to a generic list of objects?
I thought I could code:
listView1.DataSource =
fCol.ToList;
listView1.DataBind();
I get a cannot convert to object error.
I’m sure in Windows programming you use the BindingSource object. Is there a web forms equivalent?
You are missing the parentheses from the end of your ToList() call.