how to check its empty or not in date time data type
here is my code
DateTime in_time = Convert.ToDateTime(txt_in_time.Text);
else if (in_time != "")
{
#code
} Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Piyush PansuriyaRank #454 · 5.5K reputationPosted Apr 12, 2019, 1:04 AM EDT
Piyush PansuriyaRank #454 · 5.5K reputationPosted Apr 12, 2019, 2:19 AM EDT
Madan ShekarRank #428 · 5.9K reputationPosted Apr 12, 2019, 1:08 AM EDT
Madan ShekarRank #428 · 5.9K reputationPosted Apr 12, 2019, 1:31 AM EDT
Nandha Kumar24 reputationPosted Apr 12, 2019, 1:56 AM EDT
Amit KumarRank #459 · 5.4K reputationPosted Apr 13, 2019, 12:41 AM EDT
Mageshwaran RRank #411 · 6.1K reputationPosted Nov 12, 2019, 12:23 AM EST