Developers Heaven Forum
News: To still receiving newsletters from us please subscribe to our Newsletters:
http://tech.groups.yahoo.com/group/developers-Heaven/
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 12, 2010, 12:51:18 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Eval and Bind  (Read 88 times)
0 Members and 1 Guest are viewing this topic.
admin
Administrator
Full Member
*****
Offline Offline

Posts: 206


OS:
Windows XP
Browser:
Microsoft Internet Explorer 7.0


View Profile
« on: March 28, 2009, 06:25:32 PM »

Data-binding expressions are contained within <%# and %> delimiters and use the Eval and Bind functions. The Eval function is used to define one-way (read-only) binding. The Bind function is used for two-way (updatable) binding. In addition to calling Eval and Bind methods to perform data binding in a data-binding expression, you can call any publicly scoped code within the <%# and %> delimiters to execute that code and return a value during page processing.

Data-binding expressions are resolved when the DataBind method of a control or of the Page class is called. For controls such as the GridView, DetailsView, and FormView controls, data-binding expressions are resolved automatically during the control's PreRender event and you are not required to call the DataBind method explicitly.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Google
   
Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC

Copyright © Developers-Heaven.net 2008. All rights reserved.
Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM