Ramco Ramco

Ramco Ramco

  • 441
  • 3.4k
  • 523.1k

Eval Condition

Oct 19 2022 6:00 AM

Hi

I want if there is value in Status then Status value should be displayed else "-" in centre

<asp:LinkButton ID="lnkStatus" runat="server" Text='<%# Eval("Status").ToString() == "" ? "-" : %>'></asp:LinkButton>

Thanks


Answers (1)