I posted Heuh?????? because you posted a zillion lines of code without asking a question.
I don't hope you expect us to wade through all this code and try to find the question ourselves that you may have? You have to help us help you.
That said, if you need to access an image in a DataList, you need to get a reference to it. You can do this in the control's ItemCreated or ItemDataBound events. Inside these events, use FindControl("YourControlId") on e.Item (passed as an argument) to find the appropriate image and then cast it to an Image object.
Search this forum using the terms:
ItemCreated FindControl DataList
and you'll find a number of useful posts.
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to:
Here is the atom bomb (Alt.) by
The Smashing Pumpkins (Track 14 from the album:
Machina II: Friends and Enemies of Modern Music)
What's This?