摘要: Windows 窗体是用于 Microsoft Windows 应用程序开发的、基于 .NET Framework 的新平台。此框架提供一个有条理的、面向对象的、可扩展的类集,它使您得以开发丰富的 Windows 应用程序。一个Windows窗体就代表了.NET架构里的System.Windows.Forms.Form类的一个实例。 作者在CSDN技术论坛.NET板块下的C#分类经常看到有人问起如... 阅读全文
posted @ 2009-09-22 20:38 pursue 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 打开IIS 信息服务,在左侧找到自己的计算机,点右键,选择属性,在主属性中选编辑,打开“目录安全性”选项卡,单击“匿名访问和验证控制”里的“编辑”按钮,在弹出的对话框中确保只选中了“匿名访问”和“集成Windows验证”两项,单击匿名访问中的编辑,去掉“允许IIS控制密码”; 阅读全文
posted @ 2009-09-22 15:44 pursue 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 一、ORA-12514: TNS:listener does not currently know of service requested in connect 注释掉的字符串改为红色串即可 <connectionStrings> <add name="Connection String" connectionString="Data Sour... 阅读全文
posted @ 2009-09-22 10:53 pursue 阅读(519) 评论(0) 推荐(0) 编辑
摘要: [Updated, 2008-11-20 --> see end of post] One of the questions that is asked again and again in the NHibernate user mailing list is the question about whether NHibernate supports lazy-loading of p... 阅读全文
posted @ 2009-09-22 09:18 pursue 阅读(1339) 评论(0) 推荐(0) 编辑
摘要: 1、读取文件,转换为字节流 FileStream fs = new FileStream(fileName, FileMode.Open, FileAccess.Read); byte[] bytesRead = new byte[(int)fs.Length]; fs.Read(bytesRead, 0, bytesRead.Length); fs.Close(); return byt... 阅读全文
posted @ 2009-09-22 09:17 pursue 阅读(902) 评论(0) 推荐(0) 编辑
摘要: For some time I have put off implementing lazy-loading in my current project because (ironically) I am lazy. It is just conceptually easier to load the object you want and then move on. I think this d... 阅读全文
posted @ 2009-09-22 09:00 pursue 阅读(385) 评论(0) 推荐(0) 编辑
摘要:   As part of my thesis I measured the performance of some .NET ORM frameworks including NHibernate and Entity Framework. Measuring was done by implementing two simple applications using the same... 阅读全文
posted @ 2009-09-22 00:09 pursue 阅读(735) 评论(0) 推荐(0) 编辑