The Datalist control, is pretty cool.
I think it’s weaker then the grid view, it serves as a simple list mechanism.
Here’s a basic example
1 | <asp:DataList ID="dlResultList" runat="server"> |
You can populate the control using a datasource. But I perfer binding it manaully. That code looks something like the following.
1 | Dim sql As String _ |