Data Binding Functions

 Data Binding Functions are used with controls. 

 Eval()-

- Eval function is data binding function.

- It is only used with the text property of all controls excluding image control, In Image control we use this with "src".

Syntax- 

Text='<%# Eval("column_name")%>' // column same as database.  

The column will bind to that control.


 


Comments

Popular posts from this blog

Parameter Query

Final Project

Grid View Paging