Wednesday, 23 April 2014

What is difference between Eval and Bind

Eval : It will retrieve data from Data Object.
  
       Syntax: <%# Eval("FieldName")%>

Bind : It will retrieve data from data object as well as Update the data with data object. It is two may method. It is Conditional.

 Syntax: <%# Bind("FieldName")%>

No comments:

Post a Comment