i have a web in asp.net with .vb as code page and sql datavase. textbox1(dd/mm/yy) datepicker enabled. i want texybox2 get autofilled with textbox1 date plus one day (next day) format should be dd/mm/yy.
This way
TextBox1.Text = DateTime.Now.ToString("dd/MM/yyyy"); TextBox2.Text = DateTime.Now.AddDays(1).ToString("dd/MM/yyyy");
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.