03 2013 档案
摘要:谷歌浏览器离线下载地址 http://www.google.com/chrome/eula.html?hl=zh-CN&standalone=1
阅读全文
摘要:@{string a="111";} 想要输出html,可以三种方式:@Html.Raw(a)@MvcHtmlString.Create(a)@{WriteLiteral(a);} @(new HtmlString( "asdfasd")) @(Html.Encode("asdfasd"...
阅读全文
摘要:1 namespace shendeng.lottery.helper 2 { 3 public class ControllerHelper 4 { 5 /// 6 /// 取出公告 7 /// 8 /// 9 public static List GetNewList...
阅读全文
摘要:public static class ButtonBaseExtensions { /// /// 模拟单击事件 /// /// public static void PerformClick(this System.Windows.Controls.HyperlinkButton but...
阅读全文
摘要:在刚学MVC3,在学习过程中遇到了很多的问题,现在把已遇到问题总结出来,以后陆续更新。方便和我一样的新手。。 1.手写Model类,EF执行错误找不到表对象。 [TableAttribute("ProductEntity")]public class ProductEntity{} 2.加载不同...
阅读全文
摘要:if ( MessageBox.Show("要重新启动嘛?","提示", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question) == DialogResult.Yes) System.Diagnostics.Process.Start(...
阅读全文