combo box

show all the columns in a combo box

Page 1 of 1

1 Replies - 3329 Views - Last Post: 19 July 2009 - 06:27 PM Rate Topic: -----

#1 mitch1960   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 19-July 09

combo box

Post icon  Posted 19 July 2009 - 05:59 PM

Hi Guys,
can anyone give me a pointer as to how do i show all the columns in a combo box in visual basic 2008.


Private Sub JobNumbersForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'TODO: This line of code loads data into the 'DSLS765328766DataSet.Labor_Subform' table. You can move, or remove it, as needed.
Me.Labor_SubformTableAdapter.Fill(Me.DSLS765328766DataSet.Labor_Subform)
'TODO: This line of code loads data into the 'DSCO741905401DataSet.NameSet_Query' table. You can move, or remove it, as needed.
Me.NameSet_QueryTableAdapter.Fill(Me.DSCO741905401DataSet.NameSet_Query)
'TODO: This line of code loads data into the 'DSCO741905401DataSet.NameSet' table. You can move, or remove it, as needed.
Me.NameSetTableAdapter.Fill(Me.DSCO741905401DataSet.NameSet)
'TODO: This line of code loads data into the 'DSJN361953174DataSet.JobNumbers' table. You can move, or remove it, as needed.
Me.JobNumbersTableAdapter.Fill(Me.DSJN361953174DataSet.JobNumbers)
'TODO: This line of code loads data into the 'DSCN278419787DataSet.Company_name_Query' table. You can move, or remove it, as needed.
Me.Company_name_QueryTableAdapter.Fill(Me.DSCN278419787DataSet.Company_name_Query)
'TODO: This line of code loads data into the 'DSJN361953174DataSet.JobNumbers_Query1' table. You can move, or remove it, as needed.
Me.JobNumbers_Query1TableAdapter.Fill(Me.DSJN361953174DataSet.JobNumbers_Query1)

End Sub

Private Sub JobNumbers_Query1BindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles JobNumbers_Query1BindingNavigatorSaveItem.Click
Me.Validate()
Me.JobNumbersBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.DSJN361953174DataSet)
End Sub

Private Sub CompanyNameComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CompanyNameComboBox1.SelectedIndexChanged
End Sub

Private Sub BindingNavigatorMoveNextItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BindingNavigatorMoveNextItem.Click
Me.Validate()
Me.JobNumbersBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.DSJN361953174DataSet)
End Sub

Private Sub BindingNavigatorMoveLastItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BindingNavigatorMoveLastItem.Click
Me.Validate()
Me.JobNumbersBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.DSJN361953174DataSet)
End Sub

Private Sub BindingNavigatorMovePreviousItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BindingNavigatorMovePreviousItem.Click
Me.Validate()
Me.JobNumbersBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.DSJN361953174DataSet)
End Sub

Private Sub BindingNavigatorMoveFirstItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BindingNavigatorMoveFirstItem.Click
Me.Validate()
Me.JobNumbersBindingSource.EndEdit()
Me.TableAdapterManager.UpdateAll(Me.DSJN361953174DataSet)
End Sub

Is This A Good Question/Topic? 0
  • +

Replies To: combo box

#2 PDUNZ   User is offline

  • D.I.C Regular
  • member icon

Reputation: 50
  • View blog
  • Posts: 376
  • Joined: 17-July 09

Re: combo box

Posted 19 July 2009 - 06:27 PM

When posting code, please use the [code] tags.

This post has been edited by PDUNZ: 19 July 2009 - 06:28 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1