Dim x As New UpdatePanel Dim x1 As New Label form1.Controls.Add(x) form1.Controls.Add(x1) x1.Text = System.DateTime.Now.ToLongTimeString().ToString()