Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 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 Search this Thread Display Modes
  #1 (permalink)  
Old May 30th, 2005, 12:40 PM
Registered User
 
Join Date: Apr 2005
Location: Jakarta Barat, DKI Jakarta, Indonesia.
Posts: 6
Thanks: 0
Thanked 1 Time in 1 Post
Default How to manually save image to database?

Hi, I'm a newcomer in Sql Server...

Image is one of many data types in Sql Server, but not like the others, we cannot manually bind the cell contained this type by using table designer ( am I right? ). Anyone knows the way to fill the table manually?

One more, I don't know how to view it ( manually ).

Term manually I used is we don't use any scripting or programming language ( like PHP or ASP.NET ), we just clicking, or use certain program like paint... You know what I've meant!

Thanks...

Precision is not truth!
Reply With Quote
  #2 (permalink)  
Old May 31st, 2005, 04:40 AM
Friend of Wrox
Points: 3,558, Level: 25
Points: 3,558, Level: 25 Points: 3,558, Level: 25 Points: 3,558, Level: 25
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: California, USA
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

to just view what u have in ur Image field in DB (for image content files) u can use Crystal Report. Retrive ur Data from DB & drop it to ur report to be shown.
but about showing it in ur program!? its a long story.. do u need it?!

Always:),
Hovik Melkomian.
Reply With Quote
  #3 (permalink)  
Old June 23rd, 2005, 01:51 PM
Registered User
 
Join Date: Jun 2005
Location: kano, kano, Nigeria.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Havic

I will be pleased if you can show me how you can insert Images in to Sql Server with VB. Net
This is how I did it but could not work:

mycommand.commandtext = "INSERT INTO student_master" & _
                        " ( st_picture, st_signature)" & _
                        " values ( @picture1, @picture2)" & _
                        " where student_id = @stu_id"
mycommand.parameters.add( "@picture1", picturebox1.image)
mycommand.parameters.add( "@picture2", picturebox2.image)
mycommand.parameters.add( "@stud_id", txtstudent_id.text)

I also tried EXEC SP_tableoption student_master, 'txt In row', 'ON'
on the table and executed the above code again; but did not work

Adamu Sufi, Nigeria

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Upload image-create & save thumbnail-display image angshujit ASP.NET 2.0 Professional 6 July 11th, 2013 10:34 PM
Add/Update/Delete Database records MANUALLY jn148 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 December 14th, 2008 10:18 AM
How to save an image in a folder using c#.net2005 aneesh_sunu@yahoo.co.in C# 2005 1 October 31st, 2006 10:42 AM
save an image ming C# 2005 0 July 11th, 2006 07:14 PM
i need help to save slides as image Fatma General .NET 1 April 7th, 2006 12:21 AM



All times are GMT -4. The time now is 04:06 PM.


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