Wrox Programmer Forums
|
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services 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 February 8th, 2005, 02:25 AM
Registered User
 
Join Date: Feb 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to sanjay mishra
Default Display of image

Dear All,
              I am wroking in c#.net. Please help me to display image in c#.net.


Regards,
Sanjay
Satyam Computers
 
Old February 22nd, 2005, 09:26 PM
Registered User
 
Join Date: Oct 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nagen111 Send a message via Yahoo to nagen111
Default

Dear Sanjay,

If you are using datbase as SQL server 7.0 or 2000 then stores file name with path in your table as simple text file. and retrive it. ITs a type of BLOB.

Nagen111

 
Old April 10th, 2007, 07:46 AM
lax lax is offline
Registered User
 
Join Date: Feb 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Dear All,
              I am wroking in c#.net. Please help me to display image from databae (retrive image from database)in C#.net.


Regards,
Sabu


 
Old April 25th, 2007, 06:09 AM
Authorized User
 
Join Date: Apr 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to tarduk2004
Default

Dear Sanjay mishra,
Just store the name of image with extention to the database like 'bracelet.jpg'
than just
write the line below

Image.ImageUrl = path\dbfieldname;
in path just write your relative path not absolute path means "../../dbfieldname" like not "C:\Inetpub/wwwroot"
i am sure it will work

TarDuk - A Memory Beyond The Life.
 
Old September 15th, 2009, 12:41 AM
Registered User
 
Join Date: Sep 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi dear friends,
There are line enough and suggest this path\dbfiendname, This short name is working, In change to whole path of my db.





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
help with image display dhillon555 ASP.NET 1.0 and 1.1 Basics 21 February 19th, 2007 03:32 PM
How to Display the image from the image field. mikeparams SQL Server 2000 1 October 29th, 2004 02:23 AM
upload/display image alitoday Classic ASP Basics 4 June 28th, 2004 01:33 AM
display an image gorney .NET Web Services 0 December 29th, 2003 01:52 PM





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