I remotely took an image from web into my <asp:Image>, now I want to insert that image into SQL Server. Please help! I have a simple table id (pk), my image (image)
Or is it possible to insert image taken from web into SQL Server image datatype when only thing available to you is image url ?
thanks
Download Image from a URL using C#
For using WebClient you might need to include the System.Net namespace.
Upload an Image into SQL Server table using OPENROWSET
Refer – http://vadivel.blogspot.in/2005/10/saving-images-as-blob-into-sql-server.html