02 2016 档案
摘要:最新封装类: 2016-03-14 1.添加对OleConn的读 private static string connstring = @"Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=False;Data Source=" + pat
阅读全文
摘要:http://www.cnblogs.com/A_ming/archive/2013/05/24/3097062.html 如何很好的使用Linq的Distinct方法[全屏看文] Person1: Id=1, Name="Test1" Person2: Id=1, Name="Test1" Per
阅读全文
摘要:【转自】http://www.cnblogs.com/dozer/archive/2010/04/12/MVC-DataAnnotations.html 作者 Dozer 今天在这里给大家介绍一下MVC的数据验证框架。 在1.0版中,很多朋友提出了怎么使用客户端验证,今天找了一些资料,发现了客户端验
阅读全文
摘要:【转自】:http://www.cnblogs.com/dengdl/archive/2011/07/14/2106849.html 在做Asp.Net MVC项目中,都知道View负责页面展示数据或者提供页面收集数据,而所展示的数据或者收集的数据都是从Controller的Action中获取或提交
阅读全文
摘要:HtmlHelper用来在视图中呈现 HTML 控件。 以下列表显示了当前可用的一些 HTML 帮助器。 本主题演示所列出的带有星号 (*) 的帮助器。 ActionLink - 链接到操作方法。 BeginForm * - 标记窗体的开头并链接到呈现该窗体的操作方法。 CheckBox * - 呈
阅读全文
摘要:using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.Web
阅读全文
摘要:20160204 简单加减乘除验证码 UI 前台UI: <div class="row bg-info"> <form action="Login.ashx" method="post"> <div> <img style="width:80px;height:30px;" src="getpic.
阅读全文
摘要:1.文件上传 UI: <div class="row"> <form id="form1" class="form-horizontal" runat="server" method="post" enctype="multipart/form-data"> <div> <h2>文件上传</h2>
阅读全文