all groups > dotnet academic > january 2005 >
You're in the

dotnet academic

group:

selecting item in dropdown list



selecting item in dropdown list shweta_1511 NO[at]SPAM yahoo.com
1/27/2005 11:20:30 PM
dotnet academic: hi all
i have bounded a table to dropdown list
it is perfactly working but as soon i select any item from that
dropdown and click any button for event, the first item in the table
will come in the dropdown list.
i want to uue that selected item in my next query but if i do
Label6.Text = DropDownList1.SelectedItem.Text()
it is displaying the first item in the dropdownlist. it is not
displaying the currunt selected item. so please help me out in this
Re: selecting item in dropdown list bala
2/5/2005 2:04:24 PM
hi shweta
make the dropdown list autopostback,enableviewstate property true
may be this can solve yr prob
bala
[quoted text, click to view]

AddThis Social Bookmark Button