2012年12月8日 星期六

VB.NET 控制項變數名稱


   For i As Integer = 1 To 4
            CType(Me.Controls("label" & i), Label).Text = i
        Next

沒有留言:

張貼留言