Hi
I want if value in Date field in repeater is 1/1/1900 or Null it should be shown as Hyphen
Thanks
Hi
I want if value in Date field in repeater is 1/1/1900 or Null it should be shown as Hyphen
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit MohantyPosted Oct 28, 2022, 6:11 AM
Try this
On reapeater OnItemDataBound event
Where lblDOB is the lebel control in which you have to bind datetime value.
Naresh BeniwalPosted Oct 28, 2022, 5:25 AM
Please check it https://stackoverflow.com/questions/15554369/show-empty-string-when-date-field-is-1-1-1900