LiteralControl literalControl = new LiteralControl(); literalControl.Text = "Hello, World!"; this.Controls.Add(literalControl);
LiteralControl literalControl = new LiteralControl(); literalControl.Text = "Package library: The System.Web.UI namespace is part of the .NET Framework Class Library, which is included with the .NET Framework. It provides a set of classes and interfaces that allow you to create web-based applications and services.Welcome to my website!
"; this.Controls.Add(literalControl);