Hi,
You have to add a handler for your combobox to catch the
SelectedValueChanged event.
Dim myComboBox as New ComboBox
Me.Controls.Add(myComboBox)
AddHandler myComboBox.SelectedValueChanged, AddressOf
myComboBox_SelectedValueChanged
'Define your own subroutine
Private Sub myComboBox_SelectedValueChanged(ByVal sender as Object, e As
EventArgs)
'Do stuff
End Sub
Hope this will help you
Br
Kristian F. Thomsen
"Mothi Kannan" <Mo***************@Revitsys.com> wrote in message
news:35****************************@phx.gbl...
Hi,
In vb.net
I have created two combo box, dynamically
and filled list in the first combo.
How can I fill the Selected index value of first combo in
to the second combo
The second combo sholud be filled only when the first
combo list item is selected
Thanks
Mothi Kannan