Linq 团队的问题

1.代码安全
   AppliedComputerFullSearch
   string VIEWSTATE = xdoc.Root.GetDescendant(xns, "input", "id", "__VIEWSTATE").GetAttribute("value") + "&";

2.代码高效
  
 

3.代码逻辑
            listing.Price = priceTag.GetDescendant(xns, "b", "class", "priceLarge").GetValue().ExDecimal().ToString();
            if (!string.IsNullOrEmpty(listing.Price)) // listing.Price !=null
            {
                 ...
            }


4.特殊技能
   4.1 Currency Type
   4.2 Get number from different culture
   AppliedComputerFullSearch , xdoc.Root.GetDescendant(xns, "input", "id", "__VIEWSTATE").GetAttribute("value").GetUrlEncodedString("utf-8")
posted @ 2011-04-22 19:07  mjg  阅读(152)  评论(0编辑  收藏  举报