I'm new to asp. I'm trying to use a listview control to display data from a database. I'm binding the datasource programmatically to a datatable.
The part I don't understand is this line which I found as a sample on the web:
<asp:ListView ID="lvHl7trans" runat="server">
<asp:Label runat="server" id="lbltransid" Text='<%# DataBinder.Eval(Container.DataItem, "ProductName")%>'></asp:Label>
and in particular the Text='<%# DataBinder.Eval(Container.DataItem, "ProductName")%>
I'm assuming the <%# has a special meaning?
How about DataBinder.Eval()?
Can someone explain what is actually happening here?