Data is null or not test in repeter using is condition <%#!string.IsNullOrEmpty((((DataRowView)Container.DataItem)["AppointmentDate"]).ToString()) ? VIP.General.GetDateTimeFormat(Convert.ToDateTime(((DataRowView)Container.DataItem)["AppointmentDate"]).ToString()) : null%> <%#(DBNull.Value.Equals(((DataRowView)Container.DataItem)["StartDate"])==false)?Convert.ToDateTime(((DataRowView)Container.DataItem)["StartDate"]).ToString("dd/MMM/yyyy"):""%> //Db AttechFile