When we want to access the value of row of dataset or make any condition on any value of datalist or datagrid or Gridview. Then we use DataItemBound of datalist and datagrid or rowbound of Gridview. With following code we may use in code behind.
<% DataBinder.Eval (Container.DataItem,"ColumnName") %>.
If we want to access column in HTML the we write
The same can be accessed in code behind with following code.
Dim myField As String = DataBinder.Eval(e.Item.DataItem,"MyField")
DataRowView dr = (DataRowView) e.Item.DataItem;