6

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?

magnattic
  • 12,638
  • 13
  • 62
  • 115

1 Answers1

10

This is the case:

Item: for one-way binding expressions.

BindItem: for two-way data-binding expressions.

Erwin
  • 4,757
  • 3
  • 31
  • 41