What is the difference between <%# Bind(“”) %> and <%# Eval(“”) %> in ASP.NET?

后端 未结 2 1354
刺人心
刺人心 2020-12-14 15:15

I have seen bind and eval used interchangeably especially in ASP.NET GridViews. What is the difference?

2条回答
  •  鱼传尺愫
    2020-12-14 15:25

    Eval is one-way, read only databinding.

    Bind is two-way, read/write databinding.

    See here and here.

提交回复
热议问题