TrainingHeader.TrainingTypeMaster get returned NULLRRRamco Ramco4yAsked Sep 2, 2022, 12:33 AM EDT2 answersShareLinkedInXCopy linkSaveHi On below line i am getting error - htmlTable.Append("" + colum.TrainingTypeMaster.Description != null ? colum.TrainingTypeMaster.Description : "" + ""); Thanks2 AnswersKnow the answer? Post it. Somebody with the same question will find it here.Vishal YelveRank #178 · 13.6K reputation4y agoPosted Sep 2, 2022, 1:11 AM EDT+1Try this htmlTable.Append("" + colum.TrainingMaster.Description !== null ? colum.TrainingMaster.Description : '' + ""); +1RRRamco RamcoRank #462 · 5.4K reputation4y agoPosted Sep 2, 2022, 1:14 AM EDT+1Hi Vishal Getting message 'cannot convert null to bool because it is non nullable value type Thanks +1Join to answer this questionEvery answer you publish earns 20 SHARP.Create free accountSign inKnow the answer?Answer a question in the forums and earn +20 SHARP for every answer.See unanswered questionsForumsTop experts01Arun PottiAnswers in the forums20answers02Tahir AnsariAnswers in the forums5answers03Kamlesh KumarAnswers in the forums5answers04Sam HobbsAnswers in the forums4answers05Željko PerićAnswers in the forums3answers?YouYour name goes here.Every answer: 20 SHARP.JoinFull leaderboard →2026DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
TrainingHeader.TrainingTypeMaster get returned NULLRRRamco Ramco4yAsked Sep 2, 2022, 12:33 AM EDT2 answersShareLinkedInXCopy linkSaveHi On below line i am getting error - htmlTable.Append("" + colum.TrainingTypeMaster.Description != null ? colum.TrainingTypeMaster.Description : "" + ""); Thanks
Vishal YelveRank #178 · 13.6K reputation4y agoPosted Sep 2, 2022, 1:11 AM EDT+1Try this htmlTable.Append("" + colum.TrainingMaster.Description !== null ? colum.TrainingMaster.Description : '' + ""); +1RRRamco RamcoRank #462 · 5.4K reputation4y agoPosted Sep 2, 2022, 1:14 AM EDT+1Hi Vishal Getting message 'cannot convert null to bool because it is non nullable value type Thanks +1Join to answer this questionEvery answer you publish earns 20 SHARP.Create free accountSign inKnow the answer?Answer a question in the forums and earn +20 SHARP for every answer.See unanswered questionsForumsTop experts01Arun PottiAnswers in the forums20answers02Tahir AnsariAnswers in the forums5answers03Kamlesh KumarAnswers in the forums5answers04Sam HobbsAnswers in the forums4answers05Željko PerićAnswers in the forums3answers?YouYour name goes here.Every answer: 20 SHARP.JoinFull leaderboard →2026DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
RRRamco RamcoRank #462 · 5.4K reputation4y agoPosted Sep 2, 2022, 1:14 AM EDT+1Hi Vishal Getting message 'cannot convert null to bool because it is non nullable value type Thanks +1
Vishal YelveRank #178 · 13.6K reputationPosted Sep 2, 2022, 1:11 AM EDT
Try this
Ramco RamcoRank #462 · 5.4K reputationPosted Sep 2, 2022, 1:14 AM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts