VB LISTBOX与数据库连接的显示问题.
Public Function JOBLISTBOX_QUERY() As DataSet
Dim data As New DataSet()
dsCommand.SelectCommand = New SqlCommand( "SELECT * FROM JOB_SPLIT ORDER BY CREATED_DATE DESC ", con)
dsCommand.Fill(data)
JOBLISTBOX_QUERY = data
End Function
抽取了数据库内容
JobListBox.Items.Clear()
ds2 = mySqlData.JOBLISTBOX_QUERY()
JobListBox.DataSource = ds2.Tables(0)
JobListBox.DataBindings.Add( "引号1 ", ds2.Tables(0), "引号2 ")
'不知道这里的2个引号里该怎么写啊??怎么把ds2里的所有数据都显示到listbox上来啊,会的帮帮忙,谢谢
[解决办法]
抢分