KungfuMonkeySlayer

Ramblings from a sporty nerd!

asp Lists

asp lists – List<int s = new List<int>(); s.Add(1); s.Add(22); s.Add(33); customers.DataSource = s; customers.DataBind(); <asp:Repeater id=”customers” runat=”server”> <ItemTemplate> <tr> <td><%#Container.DataItem.ToString()%></td> </tr> </ItemTemplate> </asp:Repeater> source found on http://bytes.com/topic/asp-net/answers/567047-databinding-list-int