This example assumes that you have only textboxes in your datalist. What do you have?

I also suggest you take a look here:
http://www.aspnet101.com/aspnet101/aspnetcode.aspx

and take a look at how they work with the datalist. If you do find anything, do post back and let me know, because I'm also working my way around these darned things.