摘要: usingSystem;usingSystem.Collections;usingSystem.Configuration;usingSystem.Data;usingSystem.Linq;usingSystem.Web;usingSystem.Web.Security;usingSystem.W... 阅读全文
posted @ 2015-06-28 14:08 大林just 阅读(465) 评论(0) 推荐(0) 编辑
摘要: publicstaticDataTableConvertDataReaderToDataTable(SqlDataReaderdataReader){///定义DataTableDataTabledatatable=newDataTable();try{///动态添加表的数据列for(inti=0;... 阅读全文
posted @ 2015-06-28 13:50 大林just 阅读(1207) 评论(0) 推荐(0) 编辑
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Net;usingSystem.Net.Mail;namespaceConsoleApplication1{classP... 阅读全文
posted @ 2015-06-28 13:32 大林just 阅读(133) 评论(0) 推荐(0) 编辑
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Data;namespaceStudy{publicstaticclassProgram3{staticvoidMain... 阅读全文
posted @ 2015-06-28 12:03 大林just 阅读(2939) 评论(0) 推荐(0) 编辑
摘要: string str="我是小松鼠hsgg()jsjg776sdf";string [] sArray=Regex.Split(str,"[hs][()]",RegexOptions.IgnoreCase);int i =1;foreach (string s in sArray){ Conso... 阅读全文
posted @ 2015-06-28 11:50 大林just 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 前提:必须安装 WinRAR1. 工具类[csharp]view plaincopyusingSystem;usingSystem.Diagnostics;usingSystem.IO;usingMicrosoft.Win32;namespaceUtil{publicclassRARClass{//... 阅读全文
posted @ 2015-06-28 11:42 大林just 阅读(150) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/zhangzt/archive/2010/07/29/1787825.htmlPIVOT用于将列值旋转为列名(即行转列),在SQL Server2000可以用聚合函数配合CASE语句实现PIVOT的一般语法是:PIVOT(聚合函数(列) FOR 列 in... 阅读全文
posted @ 2015-06-25 13:43 大林just 阅读(200) 评论(0) 推荐(0) 编辑
摘要: sql面试题一 学生成绩原帖链接:http://topic.csdn.net/u/20081020/15/1ABF54D0-F401-42AB-A75E-DF90027CEBA0.html表架构Student(S#,Sname,Sage,Ssex) 学生表Course(C#,Cname,T#) 课程... 阅读全文
posted @ 2015-06-10 15:07 大林just 阅读(510) 评论(0) 推荐(0) 编辑
摘要: SET @_tmpDateTime = GETDATE() EXEC dbo.Dtw_Common_GenerateProofCode @ProofType = 'SO',... 阅读全文
posted @ 2015-04-08 13:57 大林just 阅读(1819) 评论(0) 推荐(0) 编辑