Hi real quick one and most likely going to look stupid after this.
I need to show the Current Date in a form text box. Also the second textbox I have needs to show the date + 3 (show the date 3 days later). For some reason I can't figure out the string to get these to post so far I got:
//Current Date when form opens
DateTime arrivaldate = DateTime.Now;
//Add 3 days to departuredate
DateTime departuredate = DateTime.Parse("DateTime.Now");
DateTime adddays = departuredate.AddDays(3);
arrivalTxb =
departureTxb =
arrivalTxb is the first text box, and departureTxb is the second text box.
The other part I have to valid to make sure the departure date doesn't go past 5 years, but thats something I think I can figure out.
Thanks in advance