Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 20th, 2008, 03:45 PM
Registered User
 
Join Date: Mar 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Debmit_das Send a message via Yahoo to Debmit_das
Default How to store image in sql server database

Hi. I want do store pic in .gif format to database(sql server 2005) as well as to store some text like comment, description etc. in this database. How can i proceede?

Debabrata Das
 
Old March 21st, 2008, 02:14 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi Debabrata,

Take a look here:

http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=395

It shows you how to store images in a SQL Server database. The article also includes a discussion of the pros and cons of storing images in a database.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
 
Old March 21st, 2008, 04:45 AM
Authorized User
 
Join Date: Mar 2008
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi imar,

Which link you have given i have seen it and i couldnt find anything related this topic Storing image in database. It was of Configuring an ASP.NET 2.0 Application to Work with Microsoft SQL Server 2000 or SQL Server 2005
so please make sure first that whichever link you are giving is related to perticular topic.

thanks



 
Old March 21st, 2008, 04:50 AM
Authorized User
 
Join Date: Mar 2008
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi friend,

I not sure but might this link will help you.

http://www.codeproject.com/KB/databa...nDataBase.aspx



 
Old March 21st, 2008, 05:16 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Oooos, wrong link. Meant to post this one:

http://imar.spaanjaars.com/QuickDocId.aspx?quickdoc=414

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
 
Old March 21st, 2008, 05:31 AM
Authorized User
 
Join Date: Mar 2008
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Imar.

This link is really useful.






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to store image in oracle database gargi_12300 Oracle 1 July 4th, 2008 04:28 AM
how to upload image into sql server database avnishraj23 General .NET 1 December 4th, 2007 02:20 PM
how to store file in sql server 2000 database vivekkumar_23 SQL Server 2000 1 February 27th, 2006 10:41 PM
how can i store image in oracle database ahali Oracle 4 July 6th, 2005 04:04 AM
How to store image in oracle database and retrieve y.suresh JSP Basics 1 February 28th, 2005 07:01 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.