摘要: Asp.net(C#)中的日期(DateTime.Now)处理函数//2010年4月24日System.DateTime.Now.ToString("D");//2010-4-24System.DateTime.Now.ToString("d");//2010年4月24日 16:30:15System.DateTime.Now.toString("F");//2010年4月24日 16:30sSystem.DateTime.Now.toString("f");//2010-4-24 16:30:15System.D 阅读全文
posted @ 2011-04-11 17:42 xuebingz 阅读(227) 评论(0) 推荐(0)
摘要: 出现此问题时:This application is currently offline. To enable the application, remove the app_offline.htm file from the application root directory原因是应用程序脱机。解决的办法是:找到你的程序的根目录,把app_online.html文件删掉即可。 阅读全文
posted @ 2011-04-06 09:28 xuebingz 阅读(289) 评论(1) 推荐(0)
摘要: 方案:1.在App.xaml.cs中定义一个Grid控件: Grid grid=new Grid();2.当整个应用程序启动运行时,让它第一个页面Login页面在Application Startup事件中来处理解决 private void Application_Startup(object sender,StartupEventArgs e) { this.RootVisual=rootGrid; this.rootGrid.Children.Add(new Login()); }3.登录成功后我们还在App.xaml.cs里面写一个方法来解决 public void Turn(User 阅读全文
posted @ 2011-04-01 14:56 xuebingz 阅读(371) 评论(0) 推荐(0)