c# - How do I data bind to a generic list in ASP.NET 3.5? -
Do I want to force my listView control objects in the generic list?
I thought I code:
listView1.DataSource = fCol.ToList; ListView1.DataBind ();
I can not convert an object error.
I'm sure that you use binding source objects in Windows programming. Do you have a web form equivalent?
You are missing out on your toList () call from the end of the call.
Comments
Post a Comment