Monthly Archives: October 2013

Difference between Eval() and Bind()


|<%# 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.

%d bloggers like this: