在webform中使用了定时器:
 this.timer1 = new System.Timers.Timer();
                    this.timer1.Interval = 4000;
                    this.timer1.Elapsed += new System.Timers.ElapsedEventHandler(this.timer1_Elapsed);private void timer1_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
        {
            int x=dropdownlist.SelectedIndex;//始终是第一项的索引,不能获取到当前选中项的索引        }
请问怎么解决?