主题:关于数据绑定(怎么现在都有没有高人站出来指点指点)
Dim ss As DataSet
Dim sqlstr As String = "select * from order_styel"
ss = GetDataFromDB(sqlstr)
ComboBox1.DataSource = ss
ComboBox1.DisplayMember = "order_styel.order_styelname"
ComboBox1.ValueMember = "order_styel.order_styelname"
在数据绑定的时候报错,找不到ComboBox1.ValueMember 里order_styel的子字段[em12]
Dim sqlstr As String = "select * from order_styel"
ss = GetDataFromDB(sqlstr)
ComboBox1.DataSource = ss
ComboBox1.DisplayMember = "order_styel.order_styelname"
ComboBox1.ValueMember = "order_styel.order_styelname"
在数据绑定的时候报错,找不到ComboBox1.ValueMember 里order_styel的子字段[em12]