| Display of Image Using Scripted Data Source [message #553825] |
Thu, 19 August 2010 01:36  |
N kumar Messages: 5 Registered: August 2010 |
Junior Member |
|
|
Hi,
I am creating a scripted data source and the scripted data set.and writing a java class in which i am writing a method which is returning the BLOB object as
class Abc
{
Blob getBlob()
{
//getting th blob object from data base....
}
}
now in data set i m creating a data coulmn as BlobImage whose data type is Blob.
in open method i m just creating a object of the abc class by importing as
importPackage (Packages.com.abc.test); //according to package
obj =new Abc();
on fetch method
I m calling the method .as
row["BlobImage"]=obj.getBlob();
and all condition's are right and when i m seeing the peview in data set of outputcoulmn it's showing some binary data as of blob in data base.
and when i m binding this coulmn to Image dynamically it's not displaying the Image.As by dragging the image contoll on rptdesign and then by assigning a image dynamically to image control.
Please reply for this as soon as posible.
Thanks in Advance..
[Updated on: Thu, 19 August 2010 05:41] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02589 seconds