Microsoft Developer Network > Forenhomepage > Windows Presentation Foundation (WPF) > How to Bind Image to WPF List View Control
Stellen Sie eine FrageStellen Sie eine Frage
 

BeantwortetHow to Bind Image to WPF List View Control

  • Freitag, 3. Juli 2009 18:07DKChakravrthy TeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillenTeilnehmermedaillen
     
    Hi,

    In my application i am storing user images in SQL Server 2005 in binary format. I want show user list with images.

    I am retriving information from database to DataTable. If i bind this table to ListView Control it showing fine except Image Column. In Image column it's showing "<Binary Data>"

    User Id         UserName                  Image
    ================================
       1                 ABC                   <Binary Data>
       2                 BBC                   <Binary Data>

    Can any one please suggest me How to  bind the images to List View.

Antworten

Alle Antworten