2018年9月7日 星期五

VB轉型,C#泛型(FindControl)

VB

Ctype(row.FindControl("lblManager3"), Label).Text = string.Empty

C#

((Label)row.FindControl("lblManager3")).Text = string.Empty;

沒有留言:

張貼留言