I have a gridview shoving spareparts width image on only some of them.
In my gridview i have this itemtemplate

```
<asp:TemplateField HeaderText="Image">
<ItemTemplate>
<asp:Image ID="Image1" Height="100px" Width="100px"  ImageUrl='<%#  
"data:Image/png;base64,"+ Convert.ToBase64String((byte[])Eval("Img")) %>' 
runat="server" />                                                           
</ItemTemplate>
</asp:TemplateField>

```

This get me an error "System.dbnull when there is no image in the database. i ave tried a lot of things, but i dont' want to post them here. They dont' work I do not like the idea to insert an default image to every rows. also i would like the size to only be whats necessary. How do i solve this problem?