using
<%# ((DataRowView)Container.DataItem)["slno."] %>
Alternatively use
<%# DataBinder.Eval (Container.DataItem, "slno.") %>
For MSDN help see http://msdn.microsoft.com/en-us/library/4hx47hfe.aspx
EDIT is another option:
<%# DataBinder.GetPropertyValue(Container.DataItem, "slno.") %>
EDIT 2 - according to the comments:
AFAIK Eval treats the string as an expression, which it evaluates using some rules - these rules have special processing for the point ...
GetPropertyValue OTOH does not apply these rules (this means that it is NOT a complete replacement for Eval AFAIK), thus being able to handle cases where handling Eval points leads to problems (as in this case).
Yahia
source share