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
3 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Karthik ElumalaiPosted May 14, 2017, 9:57 PM
Karthik ElumalaiPosted May 15, 2017, 9:32 PM
Abdalla ElawadPosted May 15, 2017, 3:29 AM