Hi All,
I have a lightswitch VB application in which I store fields and images in an SQL Server 2008 Database. I currently use the image editor control to store a PNG but need to store an Animated GIF in the DB also.
This can't be done (user-friender-ly) through the image editor control so I have placed a button on the form to load the GIF using a normal file browser, and a button to "show" the gif animated in a browser window.
Unfortunately, as this is my first lightswitch application, I have no idea how to leverage the connection that the lightswitch app already has to my database to store the result of the file browser window as a binary datatype in the database.
So, is it possible in code to use the connection lightswitch already has to my DB and store file browser result as binary?
I would appreciate a point in the right direction please.
Warmest Regards,
MassiveGeek
I have a lightswitch VB application in which I store fields and images in an SQL Server 2008 Database. I currently use the image editor control to store a PNG but need to store an Animated GIF in the DB also.
This can't be done (user-friender-ly) through the image editor control so I have placed a button on the form to load the GIF using a normal file browser, and a button to "show" the gif animated in a browser window.
Unfortunately, as this is my first lightswitch application, I have no idea how to leverage the connection that the lightswitch app already has to my database to store the result of the file browser window as a binary datatype in the database.
So, is it possible in code to use the connection lightswitch already has to my DB and store file browser result as binary?
I would appreciate a point in the right direction please.
Warmest Regards,
MassiveGeek