0
kicks
Working with Linq & Listview control programatically - 1
.Net 3.5 bridges a gap between the GridView control and the Repeater control with a new control called as the ListView Control. While you can use a datasource control, to bind data to the ListView control, this post will cover how you can use Linq(Linq to SQL) & the ListView control programmatically. In this part:-
1. Creating the schema & the Linq to SQL dbml file.
2. Displaying data with ListView control using LayoutTemplate & ItemTemplate.
3. Binding data programmatically to the ListView control.
4. Using LINQ magic - to format data in the ListView control.
5. Alternate Item styling with the AlternatingItemTemplate