Click here to Skip to main content
15,911,762 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
C#
 i have given below some details for my Table which i want .
 
CREATE TABLE Items
(
ID int,
CatagorieId int,
Name nvarchar(160) ,
Price decimal(18,2),
ItemPictureUrl nvarchar(1024),
InternalImage varbinary(MAX)
)


What I have tried:

How to add the image and varbinary(max) values here .please anyone know this Please send me that Query for that I need to add one row my Table please help me
Posted
Updated 3-May-16 2:33am

1 solution

You need to do some research, write the query yourself then ask for help if it doesn't work or if you get stuck.

This article might help Storing and Retrieving Images from SQL Server Using Strored Procedures and C#[^]

You haven't actually given us any clues as to language you might be using.

This blog might also prove useful Storing Images and Photos in SQL Server - TechNet Articles - United States (English) - TechNet Wiki[^] - it covers reasons why you shouldn't even be doing this
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900