in

Microsoft Philippines Community

A community for users, customers, and partners of Microsoft products in the Philippines :)

Image in Details View

Last post 02-16-2006 1:25 AM by bonskijr. 16 replies.
Page 1 of 1 (17 items)
Sort Posts: Previous Next
  • 02-03-2006 11:47 AM

    • jasperjugan
    • Top 10 Contributor
      Male
    • Joined on 07-11-2003
    • Feel the LOVE Generation!
    • Posts 9,398
    • Points 87,876

    Image in Details View

    Hello guys, I was wondering if you have idea how to display images in Details View. I have the images stored in SQL Server 2000 as image data type and I am having a hard time displaying the image in Image View.

    Thanks!
    Jasper Jugan
    Technical Account Manager
  • 02-03-2006 2:22 PM In reply to

    Re: Image in Details View

    which part jasper?  medyo marami kasi yan, from db storing into image instance, image instance ata into imagelist, etc...
  • 02-03-2006 2:37 PM In reply to

    • jasperjugan
    • Top 10 Contributor
      Male
    • Joined on 07-11-2003
    • Feel the LOVE Generation!
    • Posts 9,398
    • Points 87,876

    Re: Image in Details View

    what i want lang po sir is to retrieve images stored in SQL Server 2000 and display using a DetailsView control. Do you think it is possible?
    Jasper Jugan
    Technical Account Manager
  • 02-03-2006 3:14 PM In reply to

    Re: Image in Details View

    it is possible, although i haven't done it.  you should be able to do that by creating instances of image class and populating an imagelist which you will load to your listview
  • 02-04-2006 12:39 PM In reply to

    • Comgen
    • Top 150 Contributor
    • Joined on 10-27-2005
    • Sta Mesa Manila
    • Posts 290
    • Points 2,968

    Re: Image in Details View

    Kailangan mo muna i convert yung BLOB (Image sa DB) data mo bago mo magamit

  • 02-04-2006 5:31 PM In reply to

    • jasperjugan
    • Top 10 Contributor
      Male
    • Joined on 07-11-2003
    • Feel the LOVE Generation!
    • Posts 9,398
    • Points 87,876

    Re: Image in Details View

    so it's not possible to use details view out of the box talaga?
    Jasper Jugan
    Technical Account Manager
  • 02-06-2006 6:40 PM In reply to

    Re: Image in Details View

    out of the box yata for that is to have an imagelist where images are stored as embedded resource which are automatically persisted and recreated by the winform designer...
  • 02-06-2006 7:27 PM In reply to

    • jasperjugan
    • Top 10 Contributor
      Male
    • Joined on 07-11-2003
    • Feel the LOVE Generation!
    • Posts 9,398
    • Points 87,876

    Re: Image in Details View

    sir, what do i reference to instantiate an imagelist in ASP.NET?
    Jasper Jugan
    Technical Account Manager
  • 02-06-2006 7:48 PM In reply to

    Re: Image in Details View

    oops, ngayon ko lang napansin sorry jasper, aspnet section pala 'to.  when i read details view, i thought listview control of winforms, may View property kasi un then may Details option.
  • 02-06-2006 10:37 PM In reply to

    • jasperjugan
    • Top 10 Contributor
      Male
    • Joined on 07-11-2003
    • Feel the LOVE Generation!
    • Posts 9,398
    • Points 87,876

    Re: Image in Details View

    Smile [:)]
    Jasper Jugan
    Technical Account Manager
  • 02-12-2006 12:31 AM In reply to

    • voodzzz
    • Not Ranked
      Male
    • Joined on 04-23-2005
    • Posts 23
    • Points 258

    Re: Image in Details View

    image binary ba naka store sa SQL mo, or the image filename? kasi kung filename naka store sa database, madali lang i-display yung image sa details view, pero kung jan mo save yung image as binary, di ko pa nasusubukan dre. gud luck
    "Success can be measured not only in achievements, but in lessons learned, lives touched and moments shared along the way"
  • 02-12-2006 8:30 AM In reply to

    • jasperjugan
    • Top 10 Contributor
      Male
    • Joined on 07-11-2003
    • Feel the LOVE Generation!
    • Posts 9,398
    • Points 87,876

    Re: Image in Details View

     voodzzz wrote:
    image binary ba naka store sa SQL mo, or the image filename? kasi kung filename naka store sa database, madali lang i-display yung image sa details view, pero kung jan mo save yung image as binary, di ko pa nasusubukan dre. gud luck


    yup image as in image type (binary) stored in database. if file i think you only have to set the image location ata in details view Smile [:)]
    Jasper Jugan
    Technical Account Manager
  • 02-12-2006 3:01 PM In reply to

    • voodzzz
    • Not Ranked
      Male
    • Joined on 04-23-2005
    • Posts 23
    • Points 258

    Re: Image in Details View

    Sorry dude, never tried using SQL to store image. Anyway one question, whats the advantage of storing image to sql? Di ba kumakain ng memory if you store the image raw to sql?
    "Success can be measured not only in achievements, but in lessons learned, lives touched and moments shared along the way"
  • 02-12-2006 9:09 PM In reply to

    • JonathanV
    • Top 50 Contributor
    • Joined on 10-24-2005
    • Unknown
    • Posts 731
    • Points 4,866

    Re: Image in Details View

    sir Jasin, sa pagkakaalam ko, pwede store mo image sa SQL 2000, try mo check ung NorthwindSQL samples, if ever naka install sa u...
    -"The World is flat..... scared?"-
  • 02-12-2006 9:27 PM In reply to

    • jasperjugan
    • Top 10 Contributor
      Male
    • Joined on 07-11-2003
    • Feel the LOVE Generation!
    • Posts 9,398
    • Points 87,876

    Re: Image in Details View

    hehe opo sir. Actually I have a running system (Windows Forms) that stores database in SQL 2000.
    my problem is how to retrieve it in ASP.NET, specifically in DetailsView form sana. I think there is another way kaya lang using individual controls and hard-coding.
    Jasper Jugan
    Technical Account Manager
  • 02-13-2006 12:34 PM In reply to

    • hackfinn
    • Top 500 Contributor
      Male
    • Joined on 10-21-2004
    • Cavite
    • Posts 54
    • Points 458

    Re: Image in Details View

    you can try this link for displaying image into the datagrid from sql server.

    http://aspalliance.com/articleViewer.aspx?aId=141&pId=-1
    Jaime Quidit
    System Analyst/Programmer

  • 02-16-2006 1:25 AM In reply to

    • bonskijr
    • Top 50 Contributor
      Male
    • Joined on 09-01-2004
    • Repatriated
    • Posts 873
    • Points 8,646

    Re: Image in Details View

Page 1 of 1 (17 items)
Copyright © 2008 Microsoft Philippines Community

Powered by Community Server (Commercial Edition), by Telligent Systems