How to set SetTypeValuedValue() of DateTime type to My TextBox Control. - InfoPath Dev
in

InfoPath Dev

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: Previous Next
  • 10-20-2010 02:28 AM

    How to set SetTypeValuedValue() of DateTime type to My TextBox Control.

    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
  • 10-20-2010 03:16 AM In reply to

    Re: How to set SetTypeValuedValue() of DateTime type to My TextBox Control.

    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 MVP
    Qdabra Software
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.