Monday, June 6, 2011

To store an image to as container data type in a table

Hi,

To store the image to a continer datatype in a table a sample code unit is as below:
display Bitmap bitmap()
{
   Bitmap bitmap;
   Bindata     binData = new BinData();

if (binData.loadFile('c:\\1.bmp'))
   {
       bitmap = binData.getData();
   }
   return bitmap;
}
 
Thanks,
/Ashlesh 

No comments:

Post a Comment