Ramco Ramco

Ramco Ramco

  • 439
  • 3.4k
  • 545.5k

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)