FineUI/FineUI.Examples/aspnet/aspnet_literal.aspx.cs

31 lines
716 B
C#
Raw Normal View History

2013-11-01 14:13:51 +08:00
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Text;
namespace FineUI.Examples.aspnet
{
public partial class aspnet_literal : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
}
}
protected void Button1_Click(object sender, EventArgs e)
{
Label1.Text = "Label1 - " + DateTime.Now.ToLongTimeString();
Literal1.Text = "Literal1 - " + DateTime.Now.ToLongTimeString();
Literal2.Text = "Literal2 - " + DateTime.Now.ToLongTimeString();
}
}
}