Image is stored in binary format in sql server or any other database.
for more detail please see this.
Store or Save images in SQL Server[
^]
Save An Image Into SQL Server 2000 Database[
^]
BUT...
The best way to save image in any database is like this..
1) create folder within your project folder and upload images there.
2) get image name or uploaded image path and save that name to your database.
3) while fetching that image you need to use that path or name to access physical image.