How to set SetTypeValuedValue() of DateTime type to My TextBox Control. - InfoPath Dev Sign in | Join | Help in Controls InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Controls » How to set SetTypeValuedValue() of DateTime type to My TextBox Control. How to set SetTypeValuedValue() of DateTime type to My TextBox Control. Last post 10-20-2010 03:16 AM by Jimmy. 1 replies. Page 1 of 1 (2 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 10-20-2010 02:28 AM Bhavin Sankhat Joined on 06-24-2010 Ahmedabad Posts 34 How to set SetTypeValuedValue() of DateTime type to My TextBox Control. Reply Contact I want to set Today date to TextBox type of DateTime from Code behind. How to use SetTypedValue() function.Please help on this. Bhavin A Sankhat Filed under: infopath 2007 - browser enabled form 10-20-2010 03:16 AM In reply to Jimmy Joined on 07-03-2008 Posts 2,595 Re: How to set SetTypeValuedValue() of DateTime type to My TextBox Control. Mark as Not AnswerMark as Answer... Reply Contact InfoPath doesn't support SetTypedValue() and there's no need to use it. You can just use SetValue(DateTime.Today.ToString("yyyy-MM-dd")) You can also do this without using code. Jimmy Rishe / Software Developer / Microsoft MVPQdabra Software Page 1 of 1 (2 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
I want to set Today date to TextBox type of DateTime from Code behind. How to use SetTypedValue() function.
Please help on this.
InfoPath doesn't support SetTypedValue() and there's no need to use it. You can just use SetValue(DateTime.Today.ToString("yyyy-MM-dd"))
You can also do this without using code.