What does Eval statement mean in controls like GridView Repeater DataList in ASP.Net

Last Reply on Aug 22, 2013 02:40 AM By Mudassar

Posted on Aug 22, 2013 02:39 AM

<asp:Label ID="lblsize" runat="server" Text='<%# Eval("size")%>' />

 

in the syntax above, what is '<%# Eval("size")%>' means? thanx in advance..

Posted on Aug 22, 2013 02:40 AM

It is used for binding data to DataBound controls like GridView, Repeater, DataList, FormView, etc

It Accepts the name of column to be displayed

 

I agree, here is the link: https://www.e-iceblue.com/Introduce/spire-office-for-net-free.html