[ASP ] 'SelectedDate' is not a member of 'Calendar'
原本我定義了一個變數,去取得calendar裡的日期
Dim calendardate As Calendar = testform.FindControl("Calendarcontrol")
然後我用 calendardate.selectedDate 去取日期值
原本是可以取得的,一切運行正常
但後來我把網頁移到另一個伺服器
它突然就出現'SelectedDate' is not a member of 'Calendar'這個錯誤
其他aspx的網頁都運行的好好的
但只要有包含selectedDate這個字串的網頁,就全都產生一樣的錯誤
請問這是發生了什麼事呢?
(ps新伺服器以前也是運行的很OK,直到我把網頁移過去後,它就開始有這個錯誤了)
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 62.6.163.145