首页 新闻 赞助 找找看

Linq的写法

0
悬赏园豆:5 [已关闭问题] 关闭于 2008-07-23 17:54
<P>请问一下。</P> <P>&nbsp;</P> <P>原始数据: <BR>&nbsp; 日期&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 售价&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <BR>&nbsp; 2008-6-14 8:10:50&nbsp; &nbsp; &nbsp; 60 <BR>&nbsp; 2008-6-14 10:10:50&nbsp; &nbsp; 10 <BR>&nbsp; 2008-6-14 16:10:50&nbsp; &nbsp; 20 <BR>&nbsp; 2008-6-15 11:10:50&nbsp; &nbsp; 40 <BR>&nbsp; 2008-6-15 15:10:50&nbsp; &nbsp; 100 <BR>&nbsp; 2008-6-1621:10:50&nbsp; &nbsp; &nbsp; 200 <BR><BR>用linq语句查询后的数据变为: <BR>&nbsp; 日期&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 总额&nbsp; &nbsp; 数量&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <BR>&nbsp; 2008-6-14&nbsp; &nbsp; 90&nbsp; &nbsp; 3 <BR>&nbsp; 2008-6-15&nbsp; &nbsp; 140&nbsp; &nbsp; 2 <BR>&nbsp; 2008-6-16&nbsp; &nbsp; 200&nbsp; &nbsp; 1 </P> <P><BR>请问这样的LINQ语句怎么写,好像有点类似统计的。</P>
不若相忘于江湖的主页 不若相忘于江湖 | 初学一级 | 园豆:51
提问于:2008-07-23 16:14
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册