摘要:
本文来自博客园http://www.cnblogs.com/maanshancssSQL行转列汇总PIVOT用于将列值旋转为列名(即行转列),在SQL Server 2000可以用聚合函数配合CASE语句实现PIVOT的一般语法是:PIVOT(聚合函数(列) FOR 列 in (…) )AS P完整... 阅读全文
摘要:
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Net; 5 using System.Windows; 6 using System.Windows.Controls; 7 using System.Windows.Documents; 8 using System.Windows.Input; 9 using System.Windows.Media; 10 using System.Windows.Media.Animation; 11 us... 阅读全文
摘要:
1 using System; 2 using System.Collections.Generic; 3 using System.Web; 4 using System.Web.UI; 5 using System.Web.UI.WebControls; 6 using System.Data.SqlClient; 7 using System.Data; 8 using Microsoft.Office; 9 using Microsoft.Office.Interop.Word;10 using Microsoft.Office.Interop;11 using System.Tex. 阅读全文