Upload Image Button

Is it possible to have a button that opens a file dialog window where the user could select an image? If that is possible, then is it also possible to save that image to MSSQL? Thanks!

Yes, sure.

Use the system.file.openFile function in the actionPerformed event handler in the button.

Then use the system.file.readFileAsBytes(filepath) function to read an image file and get the bytes.

Then store the bytes in MSSQL.

Best,