?This is probably the best place to start http://www.vbdotnetheaven.com/UploadFile/scottlysle/ImageToSqlServer11242006025136AM/ImageToSqlServer.aspx
now, why would saving an image as part of a database record be bad practice? Where else would you save it? As a link to an external file -- that would be very bad practice especially if that external link is a web link. Jeff K. Steinkamp N7YG Tucson, AZ SCUD Missile Coordinates: N032-13-55.02 W110-55-52.79 Registered Linux User: 420428 ------------------------------------------------------ Nondeterminism means never having to say you are wrong. From: Gunawan Hadikusumo Sent: Tuesday, September 28, 2010 3:46 PM To: [email protected] Subject: Re: [DotNetDevelopment] Problem in saving image in sql server you wanna save the image on the server ? bad practice ,mate ...not recommeded.... On Wed, Sep 29, 2010 at 1:43 AM, Stephen Russell <[email protected]> wrote: On Tue, Sep 28, 2010 at 10:33 AM, Ronak <[email protected]> wrote: > Hii > > I have a big trouble in saving image in sql server. > > Actually I have ms access file and in that I have ole object field in > which I have stored > a photograph and I want to save that photograph in sql server using > asp.net. > > I have got the data in datatable but dont know the data type to pass > in parameter. > > I dont know how to do, > ------------ Lots of examples here: http://lmgtfy.com/?q=saving+image+in+sql+server -- Stephen Russell Sr. Production Systems Programmer CIMSgts 901.246-0159 cell -- johnhadikusumo.blogspot.com www.miniadverts.com.au
