摘要:
1, mysql安装时设置字符集utf-8, jdbc驱动3.0.15以上. 2. hibernate配置文件中,加上属性 true UTF-8 3. web.xml设置Filter ================================================= SetWebApplicationCharacterEncoding ... 阅读全文
摘要:
在配置文件中定义query xml: code Query query = session.getNamedQuery("on... 阅读全文
摘要:
hibernate查询方式举例 1 单个对象 a) Query query=session.createQuery("from ConsortBean a where a.person.id=?"); query.setString(0,pb.getId());//参数从零开始 List list=query.list(); b) Query query=session.crea... 阅读全文
摘要:
SQLServer: SELECT * FROM ( SELECT TOP(PageSize) * FROM ( SELECT TOP (PageSize * PageIndex) * FROM Articles ORDER BY id DESC ) ORDER BY id ASC ) O... 阅读全文
摘要:
http://www.c-sharpcorner.com/DirectoryServices.asphttp://www.dotnet247.com/247reference/System/DirectoryServices/DirectoryEntry.aspxhttp://blog.joycode.com/liuhuimiao/posts/20946.aspx 阅读全文
摘要:
using System; using System.DirectoryServices; namespace SystemFrameworks.Helper { /// /// 活动目录辅助类。封装一系列活动目录操作相关的方法。 /// public sealed class ADHelper { /// ... 阅读全文
摘要:
打开SPS虚拟站点的根目录下的web.config文件,找到下面这行: 将其修改为: 提示:WebPart在默认的安全等级下是无法访问SharePoint Object Model的(即无法通过WSS SDK来访问SPS站点中的列表、文档库、文档、用户等信息、AD),为了让我们的WebPart能正常工作,我们可以:★ 为这个WebPart创建一个单独的Policy文件★ 将WebPart的(.d... 阅读全文
摘要:
http://www.sdgn.nl/Default.asp?A1PID=57PDGUH&A1SID=229854200434&URL=154106PDWL Inleiding Web Part development Met Microsoft SharePoint Portal Server kun je portal-oplossingen ontwikkelen waarin kennis... 阅读全文
摘要:
SharePoint主页:http://www.microsoft.com/sharepoint/SharePoint Portal Server主页:http://www.microsoft.com/office/sharepoint/prodinfo/default.mspx SharePoint Service和SharePoint Portal Server有什么区别:http://www... 阅读全文
摘要:
//增加用户string dom ="LDAP://intdomain.com/CN=Users,DC=intdomain,DC=com"; System.DirectoryServices.DirectoryEntry entry1 = new System.DirectoryServices.DirectoryEntry(dom); DirectoryEntries myEntries = e... 阅读全文