N
NewsGroup de Microsoft
i can bind a combo by coding with somethin' like that:
Me.ComboBox1.DataSource = dataset
Me.ComboBox1.DisplayMember = "tabla.Descripcion"
Me.ComboBox1.ValueMember = "tabla.idPublicoObjetivo"
but i can't read it:
i think it should somethin' like:
Me.Label1.Text = Me.ComboBox1.SelectedText.ToString
Me.Label2.Text = Me.ComboBox1.SelectedValue
but it doesnt work.
Me.ComboBox1.DataSource = dataset
Me.ComboBox1.DisplayMember = "tabla.Descripcion"
Me.ComboBox1.ValueMember = "tabla.idPublicoObjetivo"
but i can't read it:
i think it should somethin' like:
Me.Label1.Text = Me.ComboBox1.SelectedText.ToString
Me.Label2.Text = Me.ComboBox1.SelectedValue
but it doesnt work.