Click to See Complete Forum and Search --> : dropdownlists


Aiysha
10-28-2005, 07:20 AM
i have a drop down list on an update page which gets its content from a database and selected = true on the selection they have made previously
if the person wanted to change the selection i get a error dropdownlist cannot have multiple selection error

how do i change the previous selection so that the person can select a different option

can anyone pls help

thanks in advance

Aiysha

Cipher
10-28-2005, 08:15 AM
I think your problem is in the PostBack you must use If Not IsPostBack

If No IsPostBack Then
'..your code which reads from the DataBase
End If

if(!IsPostBack) {
//your code which reads from the DataBase
}