Conditional data binding

zhaozj2021-02-16  78

<% # formatstring (databinder.eval ("aaa"). Tostring ())%>

Public string formatString (string str) {if (str == "0") Str = "Sold"; Else Str = "Hot sale"; Return Str;

}

转载请注明原文地址:https://www.9cbs.com/read-17009.html

New Post(0)