摘要:
Windows 窗体是用于 Microsoft Windows 应用程序开发的、基于 .NET Framework 的新平台。此框架提供一个有条理的、面向对象的、可扩展的类集,它使您得以开发丰富的 Windows 应用程序。一个Windows窗体就代表了.NET架构里的System.Windows.Forms.Form类的一个实例。 作者在CSDN技术论坛.NET板块下的C#分类经常看到有人问起如... 阅读全文
摘要:
打开IIS 信息服务,在左侧找到自己的计算机,点右键,选择属性,在主属性中选编辑,打开“目录安全性”选项卡,单击“匿名访问和验证控制”里的“编辑”按钮,在弹出的对话框中确保只选中了“匿名访问”和“集成Windows验证”两项,单击匿名访问中的编辑,去掉“允许IIS控制密码”; 阅读全文
摘要:
一、ORA-12514: TNS:listener does not currently know of service requested in connect 注释掉的字符串改为红色串即可 <connectionStrings> <add name="Connection String" connectionString="Data Sour... 阅读全文
摘要:
[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... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文