Talk2Tom11 Posted September 17, 2006 Posted September 17, 2006 I have a textboxdate with a string value in it... the string is going to be a date... for example '9/17/2006'. I want to make another combobox equal to that day plus the next. I know how to do it like this... txtbox1.text = DateTime.Now.ToShortDateString combobox1.items.add(DateTime.Now.AddDays(1).ToShortDateString) but i want to not do it off of todays date but whatever date is in the textboxdate. Quote
Administrators PlausiblyDamp Posted September 17, 2006 Administrators Posted September 17, 2006 something like combobox1.items.add(DateTime.Parse(txtbox1.text).AddDays(1).ToShortDateString) Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Talk2Tom11 Posted September 17, 2006 Author Posted September 17, 2006 something like combobox1.items.add(DateTime.Parse(txtbox1.text).AddDays(1).ToShortDateString) Yes... that is exactly what i was looking for... thank you :cool: Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.