赣南医学院专科住宿:asp.net问题

来源:百度文库 编辑:神马品牌网 时间:2024/05/15 20:15:40
Dim userId As TextBox = CType(myTable.Rows(myTable.Rows.Count - 1).Cells(0).Controls(1), TextBox)
这是什么意思呀.高手指点.谢谢
ctype是干什么的

CType 是类型转换
你看:

CType(..., TextBox)
就是把 ... 转换成 TextBox 类型。