Ramco Ramco

Ramco Ramco

  • 439
  • 3.4k
  • 544.6k

Display Date Value

Apr 19 2023 8:56 AM

Hi

  In a repeater it is displaying Date as - 01-01-0001. I want if Date is null / blank it should be displayed as ""

htmlTable.Append("<td>" + Convert.ToDateTime(colum.GrpSessionStartDate).ToString("dd-MM-yyyy") + "</td>");

Thanks


Answers (3)