上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要: http://visualstudiogallery.msdn.microsoft.com/72a60b14-1581-4b9b-89f2-846072eff19d 阅读全文
posted @ 2014-04-09 20:51 秋意了了 阅读(278) 评论(1) 推荐(1)
摘要: The Entity Framework Code First API includes methods that enable you to pass SQL commands directly to the database. You have the following options:Use the DbSet.SqlQuery method for queries that return entity types. The returned objects must be of the type expected by the DbSet object, and they are a 阅读全文
posted @ 2014-04-09 19:20 秋意了了 阅读(928) 评论(0) 推荐(0)
摘要: 在本教程中使用的软件版本Visual Studio 2013 年4.5.NET实体框架 (EntityFramework 6.1.0 NuGet 包) 6Windows Azure SDK 2.2(可选)安装EntityFramework 6从工具菜单上单击库的软件包管理器,然后单击程序包管理器控制台.在软件包管理器控制台窗口中输入下面的命令:Install-Package EntityFramework该图像显示了 6.0.0 正在安装,但 NuGet 将安装最新的预发行版本的实体框架中,这起最新的更新的教程是 6.1.0。在模型文件夹中创建一个名为Student.cs的类文件和模板代码替换 阅读全文
posted @ 2014-04-09 09:45 秋意了了 阅读(472) 评论(0) 推荐(0)
摘要: http://www.microsoft.com/en-us/download/confirmation.aspx?id=40762 阅读全文
posted @ 2014-04-04 13:19 秋意了了 阅读(1926) 评论(0) 推荐(0)
摘要: 检查不能为空[Required]publicstringID{get;set;}检查最大长度[StringLength(36,ErrorMessage="长度不可超过36")]检查数据格式[DataType(DataType.MultilineText,ErrorMessage="字符格式不正确")]检查数值范围[Range(0,2147483646,ErrorMessage="数值超出范围")]显示名[Display(Name="杂志期数",Order=15)]数据显示格式[DisplayFormat(Apply 阅读全文
posted @ 2014-04-03 16:27 秋意了了 阅读(463) 评论(0) 推荐(0)
摘要: jquery validate.jsonfocusin: function (element, event) { this.lastActive = element; // hide error label and remove error class on focus if enabled if (this.settings.focusCleanup && !this.blockFocusCleanup) { if (this.settings.unhighligh... 阅读全文
posted @ 2014-04-02 19:38 秋意了了 阅读(1207) 评论(3) 推荐(0)
摘要: http://www.jefclaes.be/2012/11/jquery-validate-error-messages-in.htmlsomething satisfactory. In this example, I have a bootstrapped form that looks like this.@using (Html.BeginForm("ChangePassword", "Account", FormMethod.Post, new { @class = "form-horizontal"})) { Old p 阅读全文
posted @ 2014-04-01 23:17 秋意了了 阅读(282) 评论(0) 推荐(0)
摘要: http://ld-21.iteye.com/blog/1846513 阅读全文
posted @ 2014-04-01 23:07 秋意了了 阅读(188) 评论(0) 推荐(0)
摘要: 目前对于不符合要求的输入域会在右侧显示一个带箭头的提示,可是如果我的输入框比较靠右的话就显示不全了(虽然会出滚动条,但是由于鼠标移开就消失了,所以还是看不到提示内容)! 能不能把这个提示的位置改变一下?比如放到文本框的下面显示???如果你用的是jquery.easyui.min.js那么找到tip.css({display:"block",left:box.offset().left+box.outerWidth(),top:box.offset().top});这一句改成tip.css({display:"block",left:box.offset( 阅读全文
posted @ 2014-04-01 09:52 秋意了了 阅读(1167) 评论(0) 推荐(0)
摘要: 使用$.fn.linkbutton.defaults重写默认值对象。按钮组件使用超链接按钮创建。它使用一个普通的标签进行展示。它可以同时显示一个图标和文本,或只有图标或文字。按钮的宽度可以动态和折叠/展开以适应它的文本标签。使用案例创建按钮使用标签创建按钮更加简单。easyui easyui也可以使用Javascript创建按钮。easyui $('#btn').linkbutton({ iconCls:'icon-search'}); easyui $('#btn').linkbutton({ iconCls: 'icon-search 阅读全文
posted @ 2014-03-31 12:31 秋意了了 阅读(843) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 下一页