<asp:DataList ID="DataList1" runat="server" BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None" BorderWidth="1px" CellPadding="3" CellSpacing="2" DataKeyField="id" DataSourceID="SqlDataSource1" GridLines="Both" Width="643px"> <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" /> <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" /> <ItemStyle BackColor="#FFF7E7" ForeColor="#8C4510" /> <ItemTemplate> id: <asp:Label ID="idLabel" runat="server" Text='<%# Eval("id") %>' /> <br /> title: <asp:Label ID="titleLabel" runat="server" Text='<%# Eval("title") %>' /> <br /> url: <asp:Label ID="urlLabel" runat="server" Text='<%# Eval("url") %>' /> <br /> <br /> </ItemTemplate> <SelectedItemStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" /> </asp:DataList>
ataList.DeleteCommand Event
DataList.UpdateCommand Event
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)