Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to add the image column in a table of database which i am working in SqlServer... Can any one tell me how can we add an image to a table?
Posted

you can store images in sql server 2005.

As Mr.Srinivaskumar explained , storin images in database may give lot of problem...You can store small size images in DB..

If you store images in DB that are larger in size may later cause some problems. Like downloading from the server may take lot of time if the image size is too big..

I suggest the solution to follow said by Mr.Srinivaskumar
 
Share this answer
 
Dont Store image data in sqlserver

try to store image file name in sqlserver

create one new folder 'images' in root (solution explorer)

try move selected image file into images folder

and then store the image filename in colunm of table in sql server


which is the better way to store image in server

that can be like

converting image into varbinary and to store in db
 
Share this answer
 
Comments
Rajjjjjjj 20-Jun-11 8:15am    
Thank u so much for the reply.
Here you go

Storing Uploaded Files in a Database or in the File System with ASP.NET[^]

Also my suggestion is File system.
 
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