將FormView,GridView裡的DropDownList控制裡面的TextBOX

 

Protected Sub DropDownList4_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs)
CType(FormView1.Row.Cells(0).FindControl("post_titalTextBox"), TextBox).Text = CType(FormView1.Row.Cells(0).FindControl("DropDownList4"), DropDownList).SelectedValue
End Sub

arrow
arrow
    全站熱搜

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