when I use this property I don't have the result what this property must return
for eg.:
I have in WPF:
I have in C#:
cb_client_cab.SelectedValue.ToString()
The result:
"System.Data.DataRowView"
but not : a value from database , combobox was populated with success, I can choose anything !!!
Help me please!
nip weerPosted May 29, 2010, 11:30 PM
I had an issue with listview before I saw your reply. But after read your answer I solved it , Thank you verymuch.
Cheers.
John WiesePosted May 26, 2010, 10:55 AM
((DataRowView)cb_client_cab.SelectedItem).Row.ItemArray
Using this you can find the actual Column you want, which would be the one that you are binding to the Textblock Text property. Then you can reference like this:
((DataRowView)cb_client_cab.SelectedItem).Row[3]