上一页 1 ··· 7 8 9 10 11 12 下一页
摘要: 将某种数据类型的表达式显式转换为另一种数据类型。CAST 和 CONVERT 提供相似的功能。 语法 使用 CAST: CAST ( expression AS data_type ) 使用 CONVERT: CONVERT (data_type[(length)], expression [, style]) 参数 expression 是任何有效的 Microsoft® SQL Ser... 阅读全文
posted @ 2009-03-19 11:33 LeimOO 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Sql Server 日期格式化函数(转) Sql Server 中一个非常强大的日期格式化函数:Select CONVERT(varchar(100), GETDATE(), 0): 05 16 2006 10:57AMSelect CONVERT(varchar(100), GETDATE(), 1): 05/16/06Select CONVERT(varchar(100), GETDA... 阅读全文
posted @ 2009-03-17 16:56 LeimOO 阅读(430) 评论(0) 推荐(0) 编辑
摘要: 在使用SPSite对象时容易发生内存泄漏!造成内存泄漏的原因是没有正确地关闭SPSite对象,请大家Review一下代码,及时修正!项目中,对系统进行压力测试时,出现了大量的异常信息,类似如下面的:Microsoft.SharePoint.SPException: Attempted to make calls on more than one thread in single threade... 阅读全文
posted @ 2009-03-16 14:05 LeimOO 阅读(1334) 评论(0) 推荐(0) 编辑
摘要: 根据我的实验,发现“查看所有网站内容”是有SharePoint里Role=“编辑项目”来控制的,所以当我们想让某一用户具有编辑权限,确不能查看所有网站内容时,就用到了下面的方法: 借鉴:http://www.crsw.com/mark/Lists/Posts/Post.aspx?ID=36 1. Open the SiteAction.xml file in Notepad from "C:... 阅读全文
posted @ 2009-01-17 19:17 LeimOO 阅读(956) 评论(0) 推荐(0) 编辑
摘要: 问题描述: //角色模拟:这里要特别注意,如果使用角色模拟可能会出现"此用户不存在或不唯一"或"拒绝访问"的错误 //impersonate.BeginImpersonate(); // 这句很重要,否则无法添加组 web.AllowUnsafeUpdates = true; // 1. 添加用户组 web.SiteGroups.Add(GroupName, ... 阅读全文
posted @ 2009-01-17 14:31 LeimOO 阅读(938) 评论(0) 推荐(0) 编辑
摘要: 问题描述: 通过SPList.Update()可以更新一个List,但一般你是不能直接调用此方法的,会出现“Updates are currently disallowed on GET requests. To allow updates on a GET, set the 'AllowUnsafeUpdates' property on SPWeb.” 解决方法有两个: 1.设置Allow... 阅读全文
posted @ 2009-01-17 14:04 LeimOO 阅读(751) 评论(0) 推荐(0) 编辑
摘要: 问题描述: 出现一个操作错误 An operations error occurred --> System.Runtime.InteropServices.COMException (0x80072020): An operations error occurred. Server stack trace: at System.DirectoryServices.Directory... 阅读全文
posted @ 2009-01-17 13:59 LeimOO 阅读(1283) 评论(0) 推荐(0) 编辑
摘要: Feature的Location和GroupId設定組合(转载) 使用网站功能(Feature)可以更方便的变更Windows SharePoint Services的网页选单功能,例如在网站动作中新增一个新的自定义选单,或是在清单的画面中异动按钮或功能等等。然而要设定这些自定义动作的话,在 Feature中就必须设定适当的Windows SharePoint Services命名空间, 其设... 阅读全文
posted @ 2008-12-20 17:42 LeimOO 阅读(441) 评论(0) 推荐(0) 编辑
摘要: 软件工程文档编写标准包括哪些内容?(转) 在项目开发过程中,应该按要求编写好十三种文档,文档编制要求具有针对性、精确性、清晰性、完整性、灵活性、可追溯性。 ◇ 可行性分析报告:说明该软件开发项目的实现在技术上、经济上和社会因素上的可行性,评述为了合理地达到开发目标可供选择的各种可能实施方案,... 阅读全文
posted @ 2008-12-15 18:45 LeimOO 阅读(629) 评论(0) 推荐(0) 编辑
摘要: (转载) winver---------检查Windows版本 wmimgmt.msc----打开windows管理体系结构(WMI) wupdmgr--------windows更新程序 w******--------windows脚本宿主设置 write----------写字板 winmsd---------系统信息 wiaacmgr-------扫描仪和照相机向导 winchat--... 阅读全文
posted @ 2008-11-13 16:28 LeimOO 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 转载: http://support.microsoft.com/kb/305144 概要 在打开用户帐户的属性后,单击帐户选项卡,然后选中或清除“帐户选项”对话框中的复选框,则会将数值分配给 UserAccountControl 属性。分配给该属性的值通知 Windows 已启用了哪些选项。要查看用户帐户,请单击开始,指向程序,指向管理工具,然后单击“Active Directory 用户和... 阅读全文
posted @ 2008-11-07 15:47 LeimOO 阅读(1397) 评论(0) 推荐(0) 编辑
摘要: 转载:http://hi.baidu.com/chin/blog/item/543ce5dd3eea79ef77c63862.html 在Active Directory中组分为两类:安全组和通讯组。安全组是给共享资源指派权限的,通讯组没有安全方面的功能,基本只应用于电子邮件程序中,所以通讯组不多作介绍,下面将着重分析... 阅读全文
posted @ 2008-11-07 15:38 LeimOO 阅读(2197) 评论(0) 推荐(0) 编辑
摘要: wss 3.0 sdk http://msdn.microsoft.com/zh-cn/library/ms472057.aspx office sharepoint server 2007 sdk http://msdn.microsoft.com/zh-cn/library/ms496201.aspx 阅读全文
posted @ 2008-10-28 17:20 LeimOO 阅读(487) 评论(0) 推荐(0) 编辑
摘要: 对于 Sharepoint,可以通过 Feature 的方式为不同项目添加新的功能,尤其是通过自定义CustomAction 时.在定义新的 CustomAction 时需要使用 RegistrationId 来指明将此 Action 添加到什么位置,在网上找到这个列表,先记录下来. 下面是转载的内容,并做了部分注释. Marwan T... 阅读全文
posted @ 2008-10-24 11:16 LeimOO 阅读(985) 评论(0) 推荐(0) 编辑
摘要: ------(这篇文章是朋友给考过来的,不知出处,感觉挺有用就贴出来了。) 命名空间:Microsoft.SharePoint 1、SPSite 功能: Represents a collection of sites on a virtual server, including a top-level site and all its subsites. ... 阅读全文
posted @ 2008-10-23 14:59 LeimOO 阅读(291) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 下一页