Friday, September 28, 2018

Expiry Limit Coading

 protected void Page_Load(object sender, EventArgs e)
    {
        Label1.Text = DateTime.Now.Day.ToString()+"/"+DateTime.Now.Month.ToString()+"/"+DateTime.Now.Year.ToString();
     //   Label2.Text = ;
       // Label3.Text = ;
        if (Label1.Text == "12/2/2012")
        {
            Response.Write("Please renew your account");
        }
        else if (Label1.Text=="13/2/2012")
        {
            Response.Write("Your account is expire");
        }
    }

No comments:

Post a Comment

ADVANCE 2025

 HTML TABLE SCROLL BAR  <style>      .table-container {             width: 100%;             overflow-x: auto; /* Enables horizontal s...