Eval() display custom value if null

前端 未结 5 1451
猫巷女王i
猫巷女王i 2021-01-25 02:51

    \' />

<
5条回答
  •  轮回少年
    2021-01-25 03:28

    Your control is runat="server" Why dont you control the value in codebehind?

    If (string.IsNullOrEmpty(TypeofPaintingValue))
    {
      TypeofPainting.Text="NA";
    }
    

提交回复
热议问题