Google Groups Home
Help | Sign in
How to store image in MSSQL Server using C#?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
vijaya kumara.N  
View profile
 More options Nov 21 2008, 7:36 am
From: "vijaya kumara.N" <vijayv...@gmail.com>
Date: Fri, 21 Nov 2008 02:06:42 +0530
Local: Fri, Nov 21 2008 7:36 am
Subject: How to store image in MSSQL Server using C#?

Hi,

How to store image in SQL Server   and retrieve uisng C#.

Please help me.

Thanking u.

--
Regards,
vijay


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joe Enos  
View profile
 More options Nov 21 2008, 2:26 pm
From: Joe Enos <j...@jtenos.com>
Date: Thu, 20 Nov 2008 19:26:43 -0800 (PST)
Local: Fri, Nov 21 2008 2:26 pm
Subject: Re: How to store image in MSSQL Server using C#?
I'm sure you can find hundreds of samples online of this, but
basically, your .NET datatype should be a byte array, and I believe
your SQL Server data type should be an IMAGE (SQL 2000) or a VARBINARY
(MAX) (SQL 2005+).  Once you get this going, it's not all that
different than any other data type.

On Nov 20, 1:36 pm, "vijaya kumara.N" <vijayv...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sn@gShadow  
View profile
 More options Nov 21 2008, 7:47 pm
From: "sn@gShadow" <the....@gmail.com>
Date: Fri, 21 Nov 2008 15:47:52 +0700
Local: Fri, Nov 21 2008 7:47 pm
Subject: Re: [DotNetDevelopment] Re: How to store image in MSSQL Server using C#?

find this keyword in your MSDN:
"Chunking BLOB Updates (ADO.NET)"

hopefully, it will be helpful

B'Rgds

--
一日不见如隔百秋

It's not what you can get but what you can give that makes you a rich person


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brandon Betances  
View profile
 More options Nov 22 2008, 5:02 am
From: "Brandon Betances" <bbetan...@gmail.com>
Date: Fri, 21 Nov 2008 13:02:18 -0500
Local: Sat, Nov 22 2008 5:02 am
Subject: Re: [DotNetDevelopment] Re: How to store image in MSSQL Server using C#?

better off uploading the image to a folder and referencing the location in
the DB. storing a DB takes ALOT of room up and slows you down considerable.
I think my homie Stephen will agree with me here.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stephen Russell  
View profile
 More options Nov 22 2008, 5:11 am
From: "Stephen Russell" <sruss...@lotmate.com>
Date: Fri, 21 Nov 2008 12:11:11 -0600
Local: Sat, Nov 22 2008 5:11 am
Subject: RE: [DotNetDevelopment] Re: How to store image in MSSQL Server using C#?

Using the db for storage is a Catch22 operation.  

You get backups, as well as the ability to replicate the db across data
centers.

You get a rather large db depending on the volume of transactions and the
size of the images.  

YMMV.

…………………………………………………………………

Stephen Russell –

Senior Visual Studio Developer, DBA

Memphis, TN

901.246-0159

From: DotNetDevelopment@googlegroups.com
[mailto:DotNetDevelopment@googlegroups.com] On Behalf Of Brandon Betances
Sent: Friday, November 21, 2008 12:02 PM
To: DotNetDevelopment@googlegroups.com
Subject: [DotNetDevelopment] Re: How to store image in MSSQL Server using
C#?

better off uploading the image to a folder and referencing the location in
the DB. storing a DB takes ALOT of room up and slows you down considerable.
I think my homie Stephen will agree with me here.

On Fri, Nov 21, 2008 at 3:47 AM, sn@gShadow <the....@gmail.com> wrote:

find this keyword in your MSDN:
"Chunking BLOB Updates (ADO.NET)"

hopefully, it will be helpful

B'Rgds

On Fri, Nov 21, 2008 at 10:26 AM, Joe Enos <j...@jtenos.com> wrote:

I'm sure you can find hundreds of samples online of this, but
basically, your .NET datatype should be a byte array, and I believe
your SQL Server data type should be an IMAGE (SQL 2000) or a VARBINARY
(MAX) (SQL 2005+).  Once you get this going, it's not all that
different than any other data type.

On Nov 20, 1:36 pm, "vijaya kumara.N" <vijayv...@gmail.com> wrote:

> Hi,

> How to store image in SQL Server   and retrieve uisng C#.

> Please help me.

> Thanking u.

> --
> Regards,
> vijay

--
一日不见如隔百秋

It's not what you can get but what you can give that makes you a rich person

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.175 / Virus Database: 270.9.9/1802 - Release Date: 11/21/2008
9:37 AM


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joe Enos  
View profile
 More options Nov 22 2008, 5:36 am
From: Joe Enos <j...@jtenos.com>
Date: Fri, 21 Nov 2008 10:36:52 -0800 (PST)
Local: Sat, Nov 22 2008 5:36 am
Subject: Re: How to store image in MSSQL Server using C#?
Agreed - just depends on your situation - whether you're storing just
a couple of small gifs or a bunch of large photographs, whether you
have a small one-server operation or a large server farm with load
balancers and proxy servers and mega security, what you're actually
doing with those images, etc.

On Nov 21, 11:11 am, "Stephen Russell" <sruss...@lotmate.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jgarra  
View profile
 More options Nov 22 2008, 5:42 am
From: jgarra <jga...@gmail.com>
Date: Fri, 21 Nov 2008 10:42:06 -0800 (PST)
Local: Sat, Nov 22 2008 5:42 am
Subject: Re: How to store image in MSSQL Server using C#?
You're definitely better off NOT storing images in SQL Server, esp. if
you're going to have a lot. Better to store an encrypted path or
something bt to store the entire binary in a table is just going to
kill your performance.

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google