Thursday, May 7, 2009

Xpath multiple conditions



 <%#XPath("price").ToString() != "" ? "Price From: "+XPath("price").ToString() : XPath("listprice").ToString() != "" ? "List Price : "+XPath("listprice").ToString() : "Sale Price: Too Low to Display"%>
   

No comments: