Why I get “System.Data.DataRowView” instead of real values in my Listbox?

前端 未结 12 789
一向
一向 2020-11-29 08:24

I\'m hoping someone can help. But whenever I run my code and try to view a highscore all I get back in my listbox is System.Data.DataRowView.

12条回答
  •  一生所求
    2020-11-29 09:14

    just make sure you are typing the name of field same as in datasource in other word it is a case sensitive

    so : Me.GridLookUpEdit1.Properties.DisplayMember = "cur_code" is different than Me.GridLookUpEdit1.Properties.DisplayMember = "CUR_code"

提交回复
热议问题