Hi
I want if there is value in Status then Status value should be displayed else "-" in centre
Code
'>Thanks
Hi
I want if there is value in Status then Status value should be displayed else "-" in centre
'>Thanks
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
Gowtham RamarRank #1,753 · 860 reputationPosted Oct 19, 2022, 2:24 AM EDT
<asp:LinkButtonID="lnkStatus"runat="server"Text='<%# Eval("Status").ToString() == "" ? "-" :Eval("Status").ToString() %>'>>