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

GRIDVIEW ON ROW DATA BOUND EVENT

 Database Create  Student : roll , name , city , cost  Fix 6 Value  in Database Record  ====================================================...