<%# %> code block is only executed when the DataBind method of its parent control container is invoked.
The following example demonstrates how to use the data binding syntax within an <asp:datalist runat="server">DataList control:
ItemTemplate gets or sets the template for the items in the DataList control.
HeaderTemplate gets or sets the template for the heading section of the DataList control.
|
reference5_cs.aspx |
Web |
|
|---|---|---|
|