im trying to bind dataset at runtime to combobox with the valuemember and displaymember column assign. im playing this code
vb Code:
ComboBox1.DataSource = ds.Tables(0) ComboBox1.ValueMember = "pk_clientID" ComboBox1.DisplayMember = "clientname"
to make the name appear in the combobox item list and on the other hand the ID will be use for details referencing.
tnx




Reply With Quote