M
MU
Hello
I have a Repeater Control and I have an image in there where I am
passing the FileName from the dataset to a Shared Function/Sub in a
class which has ASPThumb in there to send back the binary(?) I'm
assuming as it has a method called .Send
However, I'm not sure how to go about it.
Repeater Control statement
<img src="images/photos/<
%#ClassName.ShowProductThumbnail(Container.DataItem("Filename"))%>"
alt="<%#Container.DataItem("Title")%>" />
Class
Shared Function ShowProductThumbnail(ByVal strFileName As String)
As Image
Dim ProductThumb As Object
ProductThumb = CreateObject("briz.AspThumb")
Some code here for opening the file, don't need help with
that, more the .Send and how to use it in a class
Return ProductThumb.Send
End Function
Any help would be awesome to try and get this to work!
Thanks
MU
I have a Repeater Control and I have an image in there where I am
passing the FileName from the dataset to a Shared Function/Sub in a
class which has ASPThumb in there to send back the binary(?) I'm
assuming as it has a method called .Send
However, I'm not sure how to go about it.
Repeater Control statement
<img src="images/photos/<
%#ClassName.ShowProductThumbnail(Container.DataItem("Filename"))%>"
alt="<%#Container.DataItem("Title")%>" />
Class
Shared Function ShowProductThumbnail(ByVal strFileName As String)
As Image
Dim ProductThumb As Object
ProductThumb = CreateObject("briz.AspThumb")
Some code here for opening the file, don't need help with
that, more the .Send and how to use it in a class
Return ProductThumb.Send
End Function
Any help would be awesome to try and get this to work!
Thanks
MU