Archive for the ‘工作’ Category
How to : Execute Timer Jobs Programmatically »
using(SPSite site = new SPSite("http://portal")) { foreach(SPJobDefinition job in site.WebApplication.JobDefinitions) { if(job.Name == "Workflow Auto Cleanup") { job.Execute(new Guid("C9CBB265-FB94-497f-8AC0-E99CDFBC4F52")); } } } 来源: http://www.evrenayan.net/post/How-to-Execute-Timer-Jobs-Programmatically.aspx
4 Tips for Writing Better Email »
Given the number of emails you send every day, you should be an email-writing expert, right? In case not, here are a few tips for effective messaging: Ask for something. All business writing includes a call to action. Before you write your email, know what you're asking of your audience. Say it up front. Don't bury the purpose of your email
An insufficient number of arguments were supplied for t »
from the MSSQL manual When a parameter of the function has a default value, the keyword "default" must be specified when calling the function in order to get the default value. This behavior is different from parameters with default values in stored procedures in which omitting the parameter also implies the default value. Source: h
How to query cross-site lists in DataFormWebPart? »
Please move to the original source for these articals, thanks. Part 1. Build your own data source for DataFormWebPart Part 2. Use XSLT generated from SharePoint Designer to display data Part 3. Filtering on column headers problem
Styling Excel cells with mso-number-format »
mso-number-format:"0" NO Decimals mso-number-format:"0\.000" 3 Decimals mso-number-format:"\#\,\#\#0\.000" Comma with 3 dec mso-number-format:"mm\/dd\/yy" Date7 mso-number-format:"mmmm\ d\,\ yyyy" Date9 mso-number-format:"m\/d\/yy\ h\:mm\ AM\/PM" D -T AMPM mso-number-format:"Short Date" 01/03/1998 mso
奥巴马就职演讲之春运民工版 »
拍掉身上的灰尘 重新踏上回家的路——一个民工在火车站的演讲 (参考文献:奥巴马就职演讲:拍掉灰尘重建美国) 各位伙伴: 我今天站在火车站,为我们眼前的任务感到焦虑,为你们给我的信任感激,为我们先人的牺牲不忘怀。四十四位伙伴曾立下誓言,要为大家买回火车票,然而他们不是晕倒在排队的长龙里,就是被黄牛党的要价吓倒,最终没能实现他们的承诺。 在艰困的时候,我敢于继续站出来承担买票的重任,不仅因为居高位者有能力或愿景,更是因为我们人民坚信回家的理想,信守我们千年来的传统。过去如是,这一代中国人也如是。 今天我要告诉各位,我们面临的挑战是真的,挑战非常严重,且不在少数。它们不是可以轻易,或在短时间内解决。但是,我们要了解,我们最终一定能够回到家乡。 这一天,我们聚首一
多语言网站解决方案 »
前言: 多语言网站开发,重点的还是在解决语言之间的问题。 那如何解决这个问题呢?大概就分三步走: 1.页面多语言 2.数据库多语言 3.用户访问语言统一 1.页面多语言 需要考虑的问题: A.用户登陆时候,自动识别字符,调用不同的语言包? B.用户切换不同语言时候,调用不同的语言包? C.增加多语言后的目录结构? 页面多语言也就是外观的多语言化,这里可以采用静态的语言包的方式。 设计时候就应该包括language的目录,针对不同语言有独立的子目录。 如英文language/en ,简体中文language/gb,繁体中文language/b5 (可以扩展其他语言) 每个目录下就包含了对每个页面的语言版本。选择语言版本时候就可以调用相应版本的语言包。
雅虎裁员指导文件 »
该做的: 保持谈话的专注性,坚持谈话目的和决定; 控制谈话在15分钟之内; 提供业务上的理由; 谈话要清晰、简洁并尊重对方; 要注意倾听,使沟通继续下去; 允许员工回应; 要参考员工补偿内容条款; 解释被裁员工接下来要走的流程以及整理属于雅虎和个人的财物; 清楚被裁员工下一步流程以及对最后工作日的提醒; 指导被裁员工与Right Management的咨询师进行沟通. 不能做的: 不要谈论任何个人问题,直切主题; 不要试着去回答被裁员工"为什么被裁的是我?"这样的问题; 不要去支配员工的感情; 不要谈论其他员工或者进行比较; 不要说你不赞成这项决定; 不要谈论员工个人的工作表现或者过去的问题




