Thanks Ed. ItemDataBound was not on my radar screen. -----Original Message----- > 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 -- * * Please support the community that supports you. * * http://evolt.org/help_support_evolt/ For unsubscribe and other options, including the Tip Harvester and archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt !