Thanks for the instructions, that makes things clearer. The instructions are not completely correct: first they mention a variable "PhotoVar" which is bound to the input box, but at the end they mention "PictureVar" for storing it when saving. I assume they mean "PhotoVar" there.
To store this data in the database, you need a table with two attributes: an Id and one of type Binary Data. You assign the PhotoVar to the binary data atrribute, and save it.
To store this data in the database, you need a table with two attributes: an Id and one of type Binary Data. You assign the PhotoVar to the binary data atrribute, and save it.