非淡泊无以明志,非宁静无以致远 -心静如止水,动于静
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页
摘要: 当从网上找到这段代码的时候,在本地试验怎么也实现不了,只要错在了style的a:hover + div这一句。后来发现是因为没有 写上这一句:<!DOCTYPE HTML>。完整代码如下:<!DOCTYPE HTML><html><head><script type="text/javascript" src="scripts/jquery-1.7.js"></script><style>.box { display:none; position: fixed; top: 阅读全文
posted @ 2013-04-14 21:07 烟雨客 阅读(551) 评论(0) 推荐(0) 编辑
摘要: 今天试着写了一个IHttpModule并按以前的方式在web.config下的system.web下声明:<configuration> <system.web> <httpModules> <add name="HelloWorldModule" type="HelloWorldModule"/> </httpModules> </system.web></configuration>事践显示这种声明注册方法在IIS7.0下,即win7下是不work的。必须按如下声明: 阅读全文
posted @ 2013-04-06 17:01 烟雨客 阅读(1301) 评论(0) 推荐(0) 编辑
摘要: 1. MVC 4.0使用了缺省SimpleMembership, SimpleMembershipProvider is an implementaiton of an ExtendedMembershipProvider, which inherits from MembershipProvider and adds some other account / OAuth related things。并且用facade模式包装成了webSecurity类,这个SimpleMembership可以读取自定义的users表,只要初始化函数就可以WebSecurity.InitializeData 阅读全文
posted @ 2013-03-11 21:10 烟雨客 阅读(641) 评论(0) 推荐(0) 编辑
摘要: userPrincipal.getunderlineObject是ActivedirectoryEntity。是可以互换的 阅读全文
posted @ 2012-12-18 19:25 烟雨客 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 清空homeDirectory,profilePath这两个栏位时,不能用空串。要用null. 阅读全文
posted @ 2012-12-12 08:48 烟雨客 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 由具体到抽象的进行分析由抽象到具体地进行设计 阅读全文
posted @ 2012-12-10 17:06 烟雨客 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 在做项目的时候,有一个场景,当用户切换不同选项时(radio button),repeating section会随着切换而变换两种状态1:删除所有item. 2.新增而且只新增一个item. 对于删除比较容易,但对于从没有任何一个item状态下,新增一个item,来讲,在网上找了很久,也没有找到合适的解决办法。经过几次试验,终于有了一个比较理想的解决方案。即用临时变量存放section item的xml。然后当状态切换时,用代码AppendChild(xml)来动态新增一个item.infopath form的dataSource如下结构:-myFields |-group1 |-grou. 阅读全文
posted @ 2012-10-31 13:22 烟雨客 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 转自:http://weblogs.asp.net/rajbk/archive/2006/08/14/GridView-DropDownList-Pager.aThis post shows you how to add a custom DropDownlist pager and pager buttons to the GridView as shown below:Unlike the behavior of the default pager buttons, these buttons get disabled instead of being hidden (depending. 阅读全文
posted @ 2012-10-19 15:45 烟雨客 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 转自:http://weblogs.asp.net/rajbk/archive/2006/03/02/How-to-render-client-report-definition-files-_28002E00_rdlc_2900_-directly-to-the-Response-stream-without-preview.aNote: I cover this technique in a more recent post here : Rendering an RDLC directly to the Response stream in ASP.NET MVC A ReportVi. 阅读全文
posted @ 2012-10-19 15:38 烟雨客 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 转自:http://weblogs.asp.net/rajbk/pages/431322.aspx。 此人其它博文也值得学习VS 2005 RTM (.net framework 2.0)Target: Intermediate Developers Consider you have an XML file like this: <Employees> <Employee FirstName="Tom" LastName="Jones" CustomerId="1" /> <Employee First 阅读全文
posted @ 2012-10-19 13:50 烟雨客 阅读(162) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 19 下一页