Hi
I have two dropdownlist in a page that represents the years of a period, in some part of my code i have this
ddlAnoInicio.Selectedvalue=adoDatos.Item("ano_inicio").Tostring
ddlAnoFin.Selectedvalue = adoDatos.Item("ano_fin").Tostring
adodatos is a SqlDataReader
The problem is that when the selectedvalue of the second ddl is assigned, the value of the first ddl is changed to the same value. For example
First ddl must be 1994
Second ddl must be 2000
When the values are assigned both ddl have the value of 2000
Please i need your help
I have two dropdownlist in a page that represents the years of a period, in some part of my code i have this
ddlAnoInicio.Selectedvalue=adoDatos.Item("ano_inicio").Tostring
ddlAnoFin.Selectedvalue = adoDatos.Item("ano_fin").Tostring
adodatos is a SqlDataReader
The problem is that when the selectedvalue of the second ddl is assigned, the value of the first ddl is changed to the same value. For example
First ddl must be 1994
Second ddl must be 2000
When the values are assigned both ddl have the value of 2000
Please i need your help