Archive for October, 2013

Difference between Eval() and Bind()

October 22, 2013 Leave a comment

|<%# Eval(“”) %>                | <%# Bind(“”)%>
1   |OneWay Binding               | Bind is two-way
2   |Readonly databinging     | Read/write databinding

Normally Bind() method is used inside the Gridview or other datacontrol to extract the data back to the datasource from the child controls in the template. Normally
the Bind() used inside the EditItemTemplate and InsertItemTemplate of databound countrol.

Categories: ASP.NET
%d bloggers like this: