Hi All , Iam geeting small error let know where iam doing Wrong.
Text='<%# Eval("ApproveStatus").ToString().Equals("True") ? " Approved " : " Not Approved " %>' />
ERROR
Object cannot be cast from DBNull to other types.
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
Manoj BhoirRank #599 · 4K reputationPosted Jun 2, 2015, 9:34 AM EDT