cmd命令手动、自动启动和禁用服务
摘要:使用cmd命令手动、自动启动和禁用服务 小技巧使用命令行启动服务 在cmd下可有两种方法打开,net和sc,net用于打开没有被禁用的服务,语法是: net start 服务名 启动 net start 服务名 停止 net stop 服务名 net stop 服务名 (服务名:右键服务--属性--常规--服务名称,而并非显示名称)用sc可打开被禁用的服务,语法是: sc config 服务名 start= demand //手动 sc condig 服务名 start= auto //自动 sc config 服务名 start= disabled //禁用 sc start 服务名 sc.
阅读全文
posted @
2011-08-30 12:42
落 枫
阅读(7413)
推荐(0)
C#日期格式大全
摘要:C#时间/日期格式大全,C#时间/日期函数大全 有时候我们要对时间进行转换,达到不同的显示效果 默认格式为:2005-6-6 14:33:34 如果要换成成200506,06-2005,2005-6-6或更多的该怎么办呢?我们要用到:DateTime.ToString的方法(String, IFormatProvider) using System; using System.Globalization;String format="D"; DateTime date=DataTime,Now; Response.Write(date.ToString(format, Da
阅读全文
posted @
2011-08-18 14:48
落 枫
阅读(254)
推荐(0)
sharepoint ItemUpdated()与ItemUpdating()区别
摘要:ItemUpdating() 发生在Form表单提交之后,但数据还未写入DB之前。ItemUpdated() 发生在Form表单提交之后,数据已经写入DB之后。
阅读全文
posted @
2011-08-18 14:18
落 枫
阅读(209)
推荐(0)
重定向修改、编辑等页面(即用自定义的页面替换掉默认的DispForm.aspx、EditForm.aspx)
摘要:在列表上点右键,属性点击浏览,把自定义的页面设置到上边选择自定义的页面,在这里选择项目点应用,然后确定即可。
阅读全文
posted @
2011-08-18 13:10
落 枫
阅读(128)
推荐(0)
SharePoint2007计算列支持的公式
摘要:ConditionalformulasYou can use the followingformulas to test the condition of a statement and return a Yes or No value, to test an alternate value such as OK or Not OK, or to return a blank or dash to represent a null value.Determine whether a number is greater than or less than another numberUse th
阅读全文
posted @
2011-08-09 14:16
落 枫
阅读(190)
推荐(0)