How to store and retrieve images in mySQL using c#?

Hi guys,
I'm Pabz,,,i'm currently developing an application in c#. I have this problem I encountered few days ago. I tried to store an image in mysql and display it on a picture box. I want it to accept .jpg and .bmp format only and limit its size. Or it would be better if I let the user to crop it first before storing it. I want to store the image in the database not just the path of the image. Does any one have idea how to do this? Hope you can help me.
