代码改变世界

阅读排行榜

教程:创建基本报表Reportingservers

2009-11-06 08:27 by 观海看云, 405 阅读, 收藏,
摘要: 第 1 课:创建报表服务器项目 若要在 SQL Server 中创建报表,必须先创建报表服务器项目以用于保存报表定义 (.rdl) 文件和报表所需的其他任何资源文件。然后,您将创建实际的报表定义文件、定义报表的数据源、定义数据集并定义报表布局。运行报表时,将检索实际数据并将其与布局相结合,然后呈现在屏幕上,以便执行导出、打印或保存操作。 在本课中,您将了解如何在 Business Intellig... 阅读全文

C#得到CPU的序列号、硬盘序列号、网卡序列号

2011-03-06 18:01 by 观海看云, 397 阅读, 收藏,
摘要: //得到cpu信息 public static void GetCpuIndex(){ string _cpuInfo = ""; ManagementClass cimobject = new ManagementClass("Win32_Processor"); ManagementObjectCollection moc = cimobject.GetInstances(); foreach (ManagementObject mo in moc) { _cpuInfo = mo.Properties["ProcessorId" 阅读全文

MSSQL日期推算--本周一的日期和本周结束日期本月开始日期和本月结束日期

2010-03-22 21:26 by 观海看云, 397 阅读, 收藏,
摘要: --当天的星期因为得到的 weekday 比实际的多一天 所以当天减去一天 才能得到正确的星期 数 select DatePart(weekday, dateadd(dd,-1,getdate())) --本周一的日期 select convert(varchar(10),dateadd(dd,-(DatePart(weekday, dateadd(dd,-1,getdate()))-1),get... 阅读全文

如何获得一个字符串中数字的长度

2010-04-07 21:33 by 观海看云, 395 阅读, 收藏,
摘要: ArrayList itemList = new ArrayList(); CharEnumerator CEnumerator = textBox1.Text.GetEnumerator(); while (CEnumerator.MoveNext()) { byte[] array = new byte[1]; array = System.Text.Encoding.ASCII.GetByt... 阅读全文

T-sql编程

2009-11-06 08:34 by 观海看云, 390 阅读, 收藏,
摘要: -TSQL语句库(stuDB)-信息表stuInfo-成绩表stuMarks--曾insert into stuInfo(Name)values('小A')--删delete from stuInfo where name = '小A'--delete from 表名 where 条件--改update stuinfo set name = '大A' where name = '小A'--upda... 阅读全文
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 58 下一页