|
Subject:
|
How to binding Access & C#
|
|
Posted By:
|
yjz521
|
Post Date:
|
10/31/2004 12:20:32 AM
|
how to make the OLE Objet(Access) binding to PictureBox(C#)!help!!!!
HI,I from China! I Love C#!!Would you help me?
|
|
Reply By:
|
JLovell
|
Reply Date:
|
10/31/2004 10:01:30 AM
|
I don't think it can be done because Access wraps its own non-standard headers around an OLE Object stored in an mdb. Storing an OLE Object in an Access JET database isn't a good idea anyway because Access stores not only the OLE Object but also a large bitmap "thumbnail" of the object. If you're storing a compressed image such as a JPG, the object can end up using 5 or 6 times the actual size of the object when stored in an mdb. Use a Text or Memo field instead that stores the path of the object - and that should be easy to load into a PictureBox.
John Viescas, author "Microsoft Office Access 2003 Inside Out" "Running Microsoft Access 2000" "SQL Queries for Mere Mortals"
|