Eval() display custom value if null

<td> <asp:Label ID="TypeOfPaintingLabel" runat="server" Text='<%# Eval("TypeOfPainting") %>' /> </td> Does anyone know how this works? I want to display “NA” if there is no value provided to TypeOfPainting. Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat … Read more