"Manoj Paramu Das" <manojpdas (AT) msn (DOT) com> wrote
Quote:
DropDwonList.SelectedItem.Value returns only the first record value, no
matter when you select. any help would be appreciated.
Thnaks Manoj |
Try setting your DropDownList control's AutoPostback property to true, then
try something like this:
Private Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal
e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged
TextBox1.Text = DropDownList1.SelectedValue
End Sub
You'll get the selected value in the text property.
--
Peter [MVP Visual Developer]
Jack of all trades, master of none.