G
Guest
Dear all,
I try to bind a particular column from a dataset to a listbox
What I am doing wrong in the following code ?
There is no error return but listbox is empty
Dim ds As New Data.DataSet
ds = m_DbLayer.GetReels(m_LineName)
ds.Tables(0).TableName = "REELHIST"
Dim dv As New DataView(ds.Tables(0))
Me.lstReelId.DataSource = dv
Me.lstReelId.DataMember = dv.Table.TableName
Me.lstReelId.DataBind()
thnanks for your help
regards
serge
I try to bind a particular column from a dataset to a listbox
What I am doing wrong in the following code ?
There is no error return but listbox is empty
Dim ds As New Data.DataSet
ds = m_DbLayer.GetReels(m_LineName)
ds.Tables(0).TableName = "REELHIST"
Dim dv As New DataView(ds.Tables(0))
Me.lstReelId.DataSource = dv
Me.lstReelId.DataMember = dv.Table.TableName
Me.lstReelId.DataBind()
thnanks for your help
regards
serge