<asp:ImageField DataImageUrlFormatString="img.ashx?ID={0}" DataImageUrlField="RowIndex"></asp:ImageField>