> MyImg is based on columnA, which is an integer. I need to do some > math based on other criteria and then set the image URL accordingly You could put code in a handler for the datagrid's ItemDataBound event, which, based upon your criteria, assigns a URL to MyImg.ImageUrl. -------------------------------------------------------------------- Ed McCarroll (310) 838-4330 Ed at ComSimplicity.com http://www.ComSimplicity.com