posted @ 2006-11-02 16:03 bestcomy 阅读(1383) 评论(0) 推荐(0) 编辑
摘要:
I need to render some html in my asp.net applications sometime, I chose HtmlTextWriter to build the html source because I can use those handy methods of this object such as RenderBeginTag, AddAttribut... 阅读全文
摘要:
When I create a new sharepoint template for my project use, I want to set the value for webpart’s properties as soon as the site created using this template. Adding a list by default is easy after my ... 阅读全文
posted @ 2006-10-31 23:00 bestcomy 阅读(1246) 评论(0) 推荐(0) 编辑
摘要:
I am new for SharePoint less than one month. Yesterday, when I tried to get a calculated field value from the SPListItem, I always got an original value like float;#16.0000000. After one day headache,... 阅读全文
posted @ 2006-09-28 16:30 bestcomy 阅读(923) 评论(0) 推荐(0) 编辑
摘要:
问题重现:WebForm中定义eventpublic delegate void AppendFinishedEventHandler(Page sender,SqlTransaction trans);public event AppendFinishedEventHandler AppendFinished; 激发eventthis.AppendFinished(this,trans); We... 阅读全文
posted @ 2006-08-01 15:26 bestcomy 阅读(971) 评论(1) 推荐(0) 编辑
摘要:
javascript判断当前webform是否在frame中self==toptrue 不在frame中;false 在frame中。 阅读全文
posted @ 2006-07-27 00:11 bestcomy 阅读(998) 评论(2) 推荐(0) 编辑
摘要:
最近要给客户做培训需要配置一个测试环境,因为系统使用域用户验证,建立大量的域用户工作量比较大,而且测试环境的用户名可以根据用户单位和角色建立一个用户名模式,例如:角色.单位于是用c#批量建立用户,发现这样两个比较棘手的问题:1. 如何设置用户名初始密码2. 如何设置“用户下次登陆时须更改密码”不选中(缺省选中)最终的测试建立用户的代码如下: 1 DirectoryEntry AD = new D... 阅读全文
posted @ 2006-07-04 23:54 bestcomy 阅读(6819) 评论(4) 推荐(0) 编辑
摘要:
http://www.simple-talk.com/2005/03/09/coding-after-40/an article talk about coding life, I think you will write down sth after reading. where is my future is the question I ask myself frequantly. 阅读全文
posted @ 2006-02-24 12:36 bestcomy 阅读(487) 评论(0) 推荐(0) 编辑