Ramco Ramco

Ramco Ramco

  • 426
  • 3.5k
  • 569.7k

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)