上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 47 下一页

SQL 根据时间和打印状态抽取记录

摘要: 1.首先要是没有打印的记录。2.其次是要按照时间,时间是要按照倒序排列。1 1 select Top 10 下载文件的URL from 表的名称 where 是否打印 = 0 and order by 上传时间 desc*是否打印,使用字段bit,0是没有打印,1是已经打印 阅读全文
posted @ 2015-05-17 16:57 ultrastrong 阅读(265) 评论(0) 推荐(0)

下载工具

摘要: 运行效果:项目结构图:DownLoad.cs文件代码: 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Dra... 阅读全文
posted @ 2015-05-17 13:31 ultrastrong 阅读(239) 评论(0) 推荐(0)

NHibernate

摘要: 项目结构图。首先引用程序集,在lib文件夹下的程序集事都要用到的,之后在引用中引用它们。然后是App.config配置文件: 1 2 3 4 5 6 7 8 9 10 11 12 NHibernate.Connection.DriverConn... 阅读全文
posted @ 2015-05-16 19:29 ultrastrong 阅读(196) 评论(0) 推荐(0)

使用代码辅助生成工具CodeSmith -- 生成NHibernate的映射文件

摘要: 首先下载CodeSmith工具:在百度云中,在CodeSmith文件夹中。安装,使用激活工具激活。然后下载NHibernate模板,也是在百度云中,在CodeSmith文件夹中。之后直接点击NHibernate中的模板文件。之后的教程:http://www.2cto.com/database/201... 阅读全文
posted @ 2015-05-16 19:17 ultrastrong 阅读(293) 评论(0) 推荐(0)

程序员如何写出杀手级的简历

摘要: 转载自:http://kb.cnblogs.com/page/505583/英文原文:http://niniane.org/resume_howto.html 这几年,我在Google工作,是一名软件工程师(之前是在微软做一个开发团队的队长),我曾浏览过成百上千的简历,从中挑选出可以进行下一步面试... 阅读全文
posted @ 2015-05-13 22:42 ultrastrong 阅读(136) 评论(0) 推荐(0)

StreamWrite-StreamRead 读写文本文件

摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 //添加命名空间 8 using S... 阅读全文
posted @ 2015-05-13 22:24 ultrastrong 阅读(464) 评论(0) 推荐(0)

FileStream -- 复制文件

摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 //添加命名空间 8 using S... 阅读全文
posted @ 2015-05-13 21:29 ultrastrong 阅读(249) 评论(0) 推荐(0)

C# -- 委托

摘要: 地址:http://www.tracefact.net/CSharp-Programming/Delegates-and-Events-in-CSharp.aspx 阅读全文
posted @ 2015-05-12 19:07 ultrastrong 阅读(164) 评论(0) 推荐(0)

C# -- 什么是方法签名?

摘要: 签名指的是返回值和参数。比如 :public void A ( int p1,int p2){}public void B ( int q1,int q2){}的签名相同。而public int C (int m1,int m2){}则和方法A签名不同,因为C的返回值为int 阅读全文
posted @ 2015-05-12 18:17 ultrastrong 阅读(1000) 评论(0) 推荐(0)

NHibernate之映射文件配置说明

摘要: 转载自:http://www.cnblogs.com/kissdodog/archive/2013/02/21/2919886.html 阅读全文
posted @ 2015-05-09 12:41 ultrastrong 阅读(163) 评论(0) 推荐(0)
上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 47 下一页