I'm using Firebird 2.5 and the .net provider with an asp.net web application.  
Data is provided by an EntityDataSource backed by an EDM generated from a 
firebird database.
I can load a type 0 blob field with image data by handling the DetailsView 
ItemUpdating event.

protected void DetailsView1_ItemUpdating(object sender, 
DetailsViewUpdateEventArgs e) 
{
    .....
    e.NewValues.Add("PHOTO", <image data as byte[]>); //PHOTO is a blob field

}

However, when I try something similar to delete the image data, nothing happens

    object value = (byte[])null;
    e.NewValues.Add("PHOTO", value);

Can anyone explain how to put null into the blob field?

pablo
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to