Description of Using Images and Files with SQL Server: Part 1 :
Using Images and Files with SQL Server: Part 1 is a tutorial which tells you the method for adding images to the Sql Server database table using various properties of the fileDataStream object. In this tutorial the author gets the size of the iamge using the ContentLength property, image type using the ContentType property and then passes the file name with its information such as size and type to the value clause of the insert statement.