Knowledge Base > RichDatePicker > Implementation Knowledge Base Home | Login
Search the Knowledge Base
 
Start Search in the Following Category

The value is returned is NULL or empty of DateTime field from a database

When the value is returned is NULL or empty of DateTime field from a database; the RDP component should empty instead of showing the selected date.

 

 The solution consists of two points.

1)               Set Nullable=true.

2)               If fields from a database and the date value returned is NULL or empty.

          Set SelectedDate = DateTime.MinValue




Did this page answer your question? If not, try the Forums or contact us.

Copyright Richer Components 2005. All rights reserved. No part of this article may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording or otherwise) without the prior written permission of Richer Components. All brand names and product names used in this article are trade names, service marks, trademarks, or registered trademarks of their respective owners.


Knowledge Base Software - myKB.com