Seems like I\'ve ran into a wall here. I want some datasource to be bound to an asp.net repeater (well, doesn\'t have to be a repeater, but it seems like that\'s what I want
You can use the Repeater.ItemDataBound Event to locate controls nested in a Repeater.
Then in code behind:
protected void Repeater1_ItemDataBound(object source, RepeaterCommandEventArgs e)
{
if (e.Item.ItemType != ListItemType.Item && e.Item.ItemType !=
ListItemType.AlternatingItem)
return;
TextBox textBox1 = e.Item.FindControl("TextBox1") as TextBox;
if (textBox1 != null)
{
// do something with it
}
}