<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="BatchImportExportApp.Default" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form12" runat="server"> <div> <asp:Label ID="labelBaseClass" runat="server"></asp:Label> </div> </form> </body> </html>
Quote:ing System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace BatchImportExportApp { public partial class Default : System.Web.UI.Page { protected virtual void Page_Load(object sender, EventArgs e) { } } class labelBaseClass: Label { public override string Text { get { return "This is custom label."; } set { this.Text = "This is custom label."; } } } }
<asp:Label>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)