Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old March 20th, 2008, 03:45 PM
Registered User
 
Join Date: Mar 2008
Location: Calcutta, West Bengal, India.
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
Reply With Quote
  #2 (permalink)  
Old March 21st, 2008, 02:14 AM
Imar's Avatar
Wrox Author
Points: 71,164, Level: 100
Points: 71,164, Level: 100 Points: 71,164, Level: 100 Points: 71,164, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,948
Thanks: 79
Thanked 1,555 Times in 1,532 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.
Reply With Quote
  #3 (permalink)  
Old March 21st, 2008, 04:45 AM
Authorized User
 
Join Date: Mar 2008
Location: Ahmedabad, Gujarat, India.
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



Reply With Quote
  #4 (permalink)  
Old March 21st, 2008, 04:50 AM
Authorized User
 
Join Date: Mar 2008
Location: Ahmedabad, Gujarat, India.
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



Reply With Quote
  #5 (permalink)  
Old March 21st, 2008, 05:16 AM
Imar's Avatar
Wrox Author
Points: 71,164, Level: 100
Points: 71,164, Level: 100 Points: 71,164, Level: 100 Points: 71,164, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 16,948
Thanks: 79
Thanked 1,555 Times in 1,532 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.
Reply With Quote
  #6 (permalink)  
Old March 21st, 2008, 05:31 AM
Authorized User
 
Join Date: Mar 2008
Location: Ahmedabad, Gujarat, India.
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Imar.

This link is really useful.

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 01:20 PM
how to store file in sql server 2000 database vivekkumar_23 SQL Server 2000 1 February 27th, 2006 09: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 06:01 AM



All times are GMT -4. The time now is 05:20 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.