08 2012 档案
摘要:http://www.cnblogs.com/Mainz/archive/2011/09/19/2181243.htmlhttp://msdn.microsoft.com/zh-cn/library/gg602753(v=vs.91).aspxhttp://msdn.microsoft.com/zh-cn/library/gg602753(v=vs.91).aspx
阅读全文
摘要:如果是用户自己修改, 并且知道自己的原来的密码System.Web.Security.Membership.Provider.ChangePassword 如果是系统管理员要给用户修改密码, 一般情况下, 管理员不知道原来的密码MembershipUser mymem = Membership.GetUser(uname);//uname为要修改用户的帐号string p = mymem.ResetPassword();//将用户密码重置为一个自动生成的新密码mymem.ChangePassword(p, "newP@ssword");
阅读全文
摘要:http://www.codeproject.com/Articles/121488/FloatingWindow-Multi-windows-Interface-for-Silverl
阅读全文
摘要:How to release COM objects in Silverlight 4这个网上有个例子 private void Button_Click(object sender, RoutedEventArgs e) { using (dynamic app = AutomationFactory.CreateObject("Excel.Application")) { using (dynamic book = app.Workbooks.Add()) { using (dynamic sheet = app.ActiveSheet()) { ...
阅读全文
摘要:http://www.codeproject.com/Articles/253391/How-to-use-PInvoke-in-Silverlight-5
阅读全文
摘要:以下这段代码可以显示 Multiple window support { Window wnd = new Window(); wnd.Width = 500; wnd.Height = 350; wnd.Title = "This is a test window"; wnd.Content = new PopupWindowContents(); wnd.Visibility = Visibility.Visible;}
阅读全文
摘要:原文下载地址Improved media support · Low Latency Audio Playback: Use the SoundEffect API to trigger low-latencysound · Variable Speed Playback: allows video to be played at different speedsand supports fast-forward and rewind. At up to twice the speed, audio pitchcorrection allows users to watch
阅读全文
摘要:if (App.Current.InstallState == InstallState.Installed){ if (App.Current.IsRunningOutOfBrowser) { // write the code for out-of-browser window to make the // export to excel button visible } else { // write the code for the browser window to disable the install button // when the application is alre.
阅读全文
摘要:聪明者在于能够去得到东西, 但得不到或者失去, 或者担心失去时会很痛苦.智慧并不是不在乎这些东西, 他们也会有执着, 这种执着的过程是快乐的, 充满希望的. 如果成功了, 当然好; 不成功只是还处于过程中, 但别忘记学习与团队.
阅读全文
摘要:详解Silverlight 2中的独立存储(Isolated Storage)
阅读全文
摘要:如下面的代码所示:<toolkit:DataForm Name="dataForm部门" CurrentItem="{Binding 部门Obj}" CommandButtonsVisibility="Commit" AutoCommit="False" KeyDown="dataForm部门_KeyDown" CommitButtonContent="保存" CancelButtonContent="取消" HorizontalAlignment=
阅读全文
摘要:http://www.cnblogs.com/6666/archive/2009/09/25/1574142.html#2434448
阅读全文
摘要:字段要用 nvarchar.字符可以在附件的符号映射表中复制.
阅读全文
摘要:1. 用ComplexObject. class CompanyComplexInfo : ComplexObject{ List<Department> DepList {set; get;} List<Employee> EmpList{set; get;}}好像 ComplexObject 不支持 List, 自动生成代码中没有 DepList 属性 和 EmpList 属性.2. 用 shared.cs客户端是有了这2个属性了, 但是值总是 null.3.说明网上有一些是通过修改 edxm的文件, 但是这种做法应该是Code-First吧?
阅读全文