SmartDate

SmartDate

Old forum URL: forums.lhotka.net/forums/t/10223.aspx


heisal posted on Thursday, March 31, 2011

Can we access the properties of SmartDate  such as  today's date if the user types in just  "t"  in a textbox without any binding sources?

JonnyBee replied on Thursday, March 31, 2011

Yes, you can:

var sd = new Csla.SmartDate(false);
sd.Text = "t";
Debug.Print(sd.Date);   //  is now todays date

 

Copyright (c) Marimer LLC