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

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -