摘要: 学习DotNetOpenAuth,基于MySQL数据库出现的问题 阅读全文
posted @ 2014-08-08 09:36 幸运的程序员 阅读(1449) 评论(0) 推荐(0) 编辑
摘要: 环境:Asp.Net网站,Framework版本4.0,IIS版本7.0问题:按钮失效,下面是按钮代码:登录 报错信息Uncaught ReferenceError: WebForm_DoPostBackWithOptions is not defined解决办法:第一、检查服务器的时间,查看服务器... 阅读全文
posted @ 2014-05-04 10:59 幸运的程序员 阅读(1143) 评论(0) 推荐(0) 编辑
摘要: MVC用户输入验证,自定义数据标注满足特殊验证需求 阅读全文
posted @ 2014-03-26 16:54 幸运的程序员 阅读(276) 评论(0) 推荐(0) 编辑
摘要: MVC分页控件 阅读全文
posted @ 2014-03-25 17:51 幸运的程序员 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 怎么样创建自定义控件,自定义控件的原理 阅读全文
posted @ 2014-03-25 17:13 幸运的程序员 阅读(556) 评论(0) 推荐(0) 编辑
摘要: WPF入门 XAML概述 阅读全文
posted @ 2014-02-12 17:43 幸运的程序员 阅读(385) 评论(0) 推荐(0) 编辑
摘要: @Html.EditorFor可以由Template决定显示虽然都是EditorFor,页面上显示却不同,ReleaseDate是一个Jquery DatePicker:怎么实现的呢?就是Template啦首先,在Model的对应属性设置DataType:然后,在Views->Shared->EditorTemplates文件夹下有创建相应DataType的Template,即Date.cshtml源码如下@Html.TextBox("", (Model == null) ? string.Empty : String.Format("{0:d}&qu 阅读全文
posted @ 2014-02-11 17:19 幸运的程序员 阅读(504) 评论(0) 推荐(0) 编辑
摘要: View关键代码:@using (Html.BeginForm("Create", "Activity", FormMethod.Post, new { enctype = "multipart/form-data" })) 图片1: @Html.TextBoxFor(model => model.Image1, new { @disabled = "disabled", @style = "width:300px;" }) @Html.ValidationMessageFor(model 阅读全文
posted @ 2014-01-02 18:01 幸运的程序员 阅读(369) 评论(0) 推荐(0) 编辑
摘要: Asp.Net 异步导入Excel(2003 2007 2010) 阅读全文
posted @ 2013-12-18 15:15 幸运的程序员 阅读(739) 评论(2) 推荐(0) 编辑
摘要: 页面分左右两部分,左边是一个导航树,右边是局部页,点击树节点,异步刷新右边的内容。加颜色部分是知识点。@using VideoWeb.Models@model VideoWeb.Models.CategoryManageModel@{ ViewBag.Title = "Resources"; Layout = "~/Views/Shared/_ManageLayout.cshtml";}@section Head{ } @Html.Action("ResList",... 阅读全文
posted @ 2013-12-05 15:46 幸运的程序员 阅读(326) 评论(0) 推荐(0) 编辑