Reputation: 12998
ASP.NET 4.5 introduces strongly typed data controls.
From what I could gather there are two options how to access the data item
<%# Item %>
and
<%# BindItem %>
I don't quite understand though, what exactly is the difference between those two? Is this just a matter of naming? Can they be used interchangeable?
Upvotes: 6
Views: 2690
Reputation: 4817
This is the case:
Item
: for one-way binding expressions.
BindItem
: for two-way data-binding expressions.
Upvotes: 10