1. 一般頁面 Dim tb as TextBox = FindControl("TextBox1")

2. 有MasterPage的頁面 Dim tb as TextBox = Master.FindControl("Content").FindControl("TextBox1")


arrow
arrow
    全站熱搜

    伊 發表在 痞客邦 留言(0) 人氣()