x _sanctus

x _sanctus

  • NA
  • 10
  • 0

newbie:: download image frim ms acces database

Aug 4 2005 1:57 AM
I want to download picture ms access database. byte[] image = (byte[]) (myDataView[idx]["pic"]); MemoryStream ms= new MemoryStream(image,0,image.Length); // i got invalid argument exception here Image pic=Image.FromStream(ms); picture.Image=pic; i don't know whats wrong here?? Anyway is it efficient to update database using DataView?