locked
Hi Friends,is there any difference in databinding between the datagrid and listbox. RRS feed

  • Question

  • Hi,

            i am usig LINQ to SQL Classes and WCF Service for binding the datagrid.it is working fine.

           but when i am using same thing to listbox it is not working and not displaying any data.

                                      pls help me

     

    Saturday, May 3, 2008 7:00 AM

Answers

  • It should work the same. I just tested on my code. Calling WCF to get a Array of dataobject back and set Listbox.ItemsSource = e.Result without any problem.

    Check your e.Result and XAML and see if the FieldName you set in the XAML Binding is correct (they are Case Sensitive).

     

     

     

    Saturday, May 3, 2008 11:31 AM