看板 C_Sharp 關於我們 聯絡資訊
在此請問各位 我想要做一個利用學生名單系統,並利用dropdownlist來篩選班級 protected void Dropdownlist_SelectIndexChanged(object sender, EventArgs e) { Sqldatasouce.SelectCommand = "<Select 函數式>" Sqldatasouce.Update(); } 結果我在此程式下中斷點發現,即使dropdownlist有更動,也沒有跑入此程式 請各位大大指引解決方向,感激! -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 210.71.2.148 ※ 文章網址: https://www.ptt.cc/bbs/C_Sharp/M.1426587519.A.6BB.html
totte: autopostback屬性要設定為true 03/17 19:08
謝謝totte大大指教! ※ 編輯: LeeYK (118.160.162.192), 03/17/2015 21:43:46