DekGenius.com
[ Team LiB ] Previous Section Next Section

DataBoundLiteralControldisposable

System.Web.UI (system.web.dll)sealed class

ASP.NET creates a DataBoundLiteralControl for each data binding expression it finds on a page (such as <%# Container.DataItem("Name") %>). You do not need to create this control directly.

public sealed class DataBoundLiteralControl : Control {
// Public Constructors
   public DataBoundLiteralControl(int staticLiteralsCount, int dataBoundLiteralCount);
// Public Instance Properties
   public string Text{get; }
// Public Instance Methods
   public void SetDataBoundString(int index, string s);
   public void SetStaticString(int index, string s);
// Protected Instance Methods
   protected override ControlCollection CreateControlCollection( ); // overrides Control
   protected override void LoadViewState(object savedState);    // overrides Control
   protected override void Render(HtmlTextWriter output);       // overrides Control
   protected override object SaveViewState( );       // overrides Control
}

Hierarchy

System.Object Control(System.ComponentModel.IComponent, System.IDisposable, IParserAccessor, IDataBindingsAccessor) DataBoundLiteralControl

    [ Team LiB ] Previous Section Next Section