This is a migrated thread and some comments may be shown as answers.

Insert image in sql Image taken from a web url ,or solution with radimage column

1 Answer 131 Views
Grid
This is a migrated thread and some comments may be shown as answers.
usman
Top achievements
Rank 1
usman asked on 04 Feb 2012, 11:08 AM

I remotely took an image from web into my asp:Image   , now I want to insert that image into sql server , please help ,with a simple table id(pk)  ,my image(image) wirte some hint ot code ,I later will be needing it to bound with RabBinary image column 

Or is it possible to insert image taken from web  into the sql server image datatype when only thing avialable to you is image url 

the above solution if I can do will be great , but any other suggestion by which I can store user image along side its row in db and keep its image privacy is also wellcome 

thanks 

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 09 Feb 2012, 09:08 AM
Hello,

You could check this online demo for a sample implementation of RadBinaryImage project.

Additionally, you could check the CustomersPhoto table from the Telerik database which comes with the installation of RadControls for ASP.NET Ajax. You could find Telerik database int the LiveDemos/App_Data folder which is located under the installation folder of the controls. The installation folder is usually the C:\ProgramFiles\RadControls for ASP.NET AJAX Q3 2011 SP1 if you have installed the controls in the default location.

Give these suggestion a try and check whether they suit your needs.

All the best,
Andrey
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Grid
Asked by
usman
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or