Click here to Skip to main content
15,910,471 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi experts, In my application i have a ado.net data entity model class which with it i pull data from my database,my window class code is as below:
XML
ms = new MSEntities();
         var Res = from St in ms.Staffs
                   select St;

       ObservableCollection<Staff> staffs = new ObservableCollection<Staff>(Res); // staff is my database table

        staffName.ItemsSource = staffs; // my combo box source
        staffName.DisplayMemberPath = "StaffName";
        myimage.Source = ???

here I want to bind staffphoto to my image source but i dont know how to do that,could someone help me with this please??thank you.
Posted

1 solution

Try this [^]link out.

I am not sure, but this may also help you.
 
Share this answer
 
Comments
BaharDev 18-Oct-10 0:14am    
actually i saw this link before but it couldnt solve my problem,but anyway tanx for your help:)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900