Hi Guys
Please help me
This is textbox in EditItem template in gridview :
and this is other :
How to applied this code and how declare txt in gridview
protected void TextBox11_TextChanged(object sender, EventArgs e)
{
string date = TextBox11.Text;
DateTime dt1 = DateTime.ParseExact(date, "dd/MM/yyyy", CultureInfo.InvariantCulture);
TextBox12.Text = dt1.AddDays(30).ToString("dd/MM/yyyy");
Label1.BackColor = Color.Green;
Label2.Text = ("Team Should Be Changed On:" + dt1.AddDays(30).ToShortDateString());
}
thanks


Karthik ElumalaiRank #544 · 4.5K reputationPosted May 14, 2017, 5:57 PM EDT
Abdalla ElawadRank #1,443 · 1.1K reputationPosted May 14, 2017, 11:29 PM EDT
Karthik ElumalaiRank #544 · 4.5K reputationPosted May 15, 2017, 5:32 PM EDT