Skip Navigation Links
xFDN Home
Contributions

Load pictures from file and store it in database

Author: Sheetal Dehadaraya, Software Labs Inc.

xFusion can load pictures from file with the help of a transfrom function LoadFile. This function takes the file path as a parameter and returns the byte stream of a picture file

For example -
LoadFile("C:\Program Files\Software Labs\3.5\Fusion Studio\ReadMeGraphics\fusion_logo.png")



Download the sample fusion pack from here to demostrate the usage of LoadFile function. Double click on InsertToSQL node and click Run Export to insert a new record in Employee table of Northwind database with first name, last name and photo.
©2007 Software Labs, Inc.