0
我看了<%$, <%@, <%=, <%# ... what's the deal?#=运营商在asp.net webforms?
但最近我看到使用#=运算符的webforms中的标记。这是新的吗?或者正在应用一些客户端框架?我在哪里可以得到更多的信息,请问它与其他运营商相比如何?:
<td><input type="text" name="ProductCountryProductName" value="#= (ProductName) ? ProductName : '' #" /></td>
<td><input type="text" name="ProductCountryProductExpiryDate" value="#= formatDate(ProductExpiryDate) #" /></td>
<td><input type="checkbox" name="ProductCountryIsAvailableEmployeeSite" #= IsAvailableEmployeeSite ? 'checked' : '' # /></td>
<td><input type="checkbox" name="ProductCountryIsAvailableCorporateSite" #= IsAvailableCorporateSite ? 'checked' : '' # /></td>
<td><input type="checkbox" name="ProductCountryIsAvailableBackOfficeSite" #= IsAvailableBackOfficeSite ? 'checked' : '' # /></td>
<td><input type="checkbox" name="ProductCountryIsAvailableSalesOrder" #= IsAvailableSalesOrder ? 'checked' : '' # /></td>
第一:它是否工作? –
这个例子来自哪里? –