I have been looking at many samples and have got as far as I can and now need real help;
My page contains an asp:Datalist and has two controls:-
Width = "100px" Height = "100px" />
protected void DataList1_ItemDataBound(object sender, DataListItemEventArgs e)
{
if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
{
Label lblNAme = (Label)e.Item.FindControl("lblImageName"); //Here you will get id
lblNAme.Text = "image name from database";
}
}


