Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7408653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:57:10+00:00 2026-05-29T05:57:10+00:00

I remotely took an image from web into my <asp:Image> , now I want

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T05:57:11+00:00Added an answer on May 29, 2026 at 5:57 am

    Download Image from a URL using C#

    For using WebClient you might need to include the System.Net namespace.

    WebClient wc = new WebClient(); 
    wc.DownloadFile(URL_Of_The_Image, FileName_You_Want_to_Store_It_As);
    

    Upload an Image into SQL Server table using OPENROWSET

    CREATE TABLE EmployeeProfile
    (
        EmpId INT,
        EmpName VARCHAR(50) not null,
        EmpPhoto VARBINARY(MAX) not null
    )
    GO  
    
    INSERT EmployeeProfile (EmpId, EmpName, EmpPhoto)
    SELECT 1001, 'Vadivel', BulkColumn
    FROM OPENROWSET( BULK 'C:\Images\Demo.jpg', Single_Blob) AS EmployeePicture
    GO
    

    Refer – http://vadivel.blogspot.in/2005/10/saving-images-as-blob-into-sql-server.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I cannot connect to Sql server remotely from management studio , It is corrrect
Developed a Windows application that remotely accesses an SQL Server online. However, the client's
I want to remotely uninstall apps from clients using c#. In all the samples
I store rdl's remotely in a sql server database in binary format. I would
I wish to control my computer remotely from my android mobile. I know that
I want to connect remotely via c# to some other pc that has mysql
I want to download a remotely hosted image using codeiogniter . and a validation
I am remotely accessing SQL Server Express 2008. I have turned on service SQL
I want to remotely execute commands on a machine from a host machine executing
I have been following a tutorial that remotely downloads an image to an imageview,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.