hello

随笔分类 -  Linq

摘要:xml结构:<?xml version="1.0" encoding="utf-8" ?><foo> <bar>Test 1</bar> <baz> <bar>Test 2</bar> </baz> <bar>Test 3</bar></foo>查询代码:XDocument doc = XDocument.Load("input.xml");XElement root = doc.Root;foreach 阅读全文
posted @ 2013-04-29 12:44 B追风少年 阅读(3855) 评论(0) 推荐(2)
摘要:var attributeTotalValues = (from a in objValue group a by new { a.ProductTypeID, a.AttributeCode ... 阅读全文
posted @ 2013-03-20 11:01 B追风少年 阅读(344) 评论(0) 推荐(0)

hello too