上一页 1 ··· 4 5 6 7 8 9 下一页
  2010年1月28日
摘要: 在网上search了很久也没找到答案,今天终于找到解决方法了:背景:每次从SCM中checkin/out ASPNETDB.mdf, 在vs2010中都无法重新连接解决方法:1.为当前用户添加管理 ASPNETDB.mdf的权限2.为当前用户添加启动MSSQL$SQLEXPRESS的权限,并重启此服务3.在vs2010中添加connection,把user instance置为false4.Tes... 阅读全文
posted @ 2010-01-28 09:46 西西弗斯 阅读(1889) 评论(0) 推荐(0) 编辑
  2010年1月26日
摘要: WPF1.假如ListBox使用如下的DataTemplate代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<DataTemplatex:Key="myDataTemplate"><TextBlockName="textBlo... 阅读全文
posted @ 2010-01-26 09:44 西西弗斯 阅读(1566) 评论(1) 推荐(0) 编辑
  2010年1月19日
摘要: 导航.简单的理解可以是从一个页面跳转到另外一个页面。在传统的ASP.NET网站中这种效果很容易实现。而在Silverlight中我们也同样可以,我们有两种方法来实现这个效果。第一个选择是使用代码更改页面视图(修改容器Content属性),移除/添加User Control来实现导航,这个方法比较简单、直接代码量也很少。并且在这个过程中还可以加入动画、变形等效果。第二个选择就是使用Silverlig... 阅读全文
posted @ 2010-01-19 17:36 西西弗斯 阅读(2434) 评论(1) 推荐(1) 编辑
  2010年1月14日
摘要: 1.在Server端添加Silverlight-enabled WCF service代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--[ServiceContract(Namespace="")][AspNetCompatibilityRequi... 阅读全文
posted @ 2010-01-14 16:04 西西弗斯 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 1. "Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'"原因:3.0 version of the WCF Htt... 阅读全文
posted @ 2010-01-14 11:25 西西弗斯 阅读(296) 评论(0) 推荐(0) 编辑
  2010年1月12日
摘要: 今天使用RIA Service,只要在Silverlight中进行增删改,然后调用SubmitChanges()就会抛出一个异常,郁闷之极,最后终于找到了原因:数据表没有主键,faint! 阅读全文
posted @ 2010-01-12 17:37 西西弗斯 阅读(496) 评论(0) 推荐(0) 编辑
  2010年1月11日
摘要: 目前有以下几种方法:Call, write, and ask the company/person to list your domain (i.e., the domain from which your Silverlight application is downloaded) as an allowed domain in the client policy file (clientacc... 阅读全文
posted @ 2010-01-11 11:01 西西弗斯 阅读(282) 评论(0) 推荐(0) 编辑
  2009年10月23日
摘要: BJ Rolison (I.M.Testy) http://blogs.msdn.com/imtestyBJ是微软负责EE工作的Test Architecture,也是HWTSaM的作者。他的文章非常有条理,看起来也比较容易,其中的数据也非常丰富,是我喜欢的风格。Alan Page http://blogs.msdn.com/alanpa/ Alan是微软负责EE工作的Director,是HWTS... 阅读全文
posted @ 2009-10-23 14:48 西西弗斯 阅读(220) 评论(0) 推荐(0) 编辑
  2009年10月19日
摘要: 早上在做一个demo的时候,需要使用Button只展示Preview效果,但不让它得focus。So easy ![代码] 阅读全文
posted @ 2009-10-19 15:21 西西弗斯 阅读(1032) 评论(0) 推荐(0) 编辑
  2009年9月8日
摘要: public void CheckAllEnums(string dllPath) { Assembly assembly = Assembly.LoadFrom(dllPath); Type[] types = assembly.GetTypes(); CreateFile(); foreach (Type t in types) { PropertyInfo[] infos = t.GetPr... 阅读全文
posted @ 2009-09-08 15:28 西西弗斯 阅读(408) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 下一页