C#_asp.net mvc 验证码功能的具体实现
@using (Html.BeginForm("Login", "HomePage",FormMethod.Post))
{
<h2>登录</h2><p class="tyg-p">欢迎访问 智慧能力</p>
<div style="margin:5px 0px;">
<input id="UserName" name="UserName" type="text" placeholder="请输入账号..." />
</div>
<div style="margin:5px 0px;">
<input id="Pwd" name="Pwd" type="password" placeholder="请输入密码..." />
</div>
<div style="margin:5px 0px;">
<input id="code" name="code" type="text" style="width:150px;" placeholder="请输入验证码..." />
<img id="CheckCodeImage" src="@Url.Content("~/Common/ValidateCode.ashx")" onclick="this.src='@Url.Content("~/Common/ValidateCode.ashx")?time='+new Date().getTime()" style="cursor:pointer;" title="看不清?换一张" alt="看不清?换一张" />
</div>
<button type="submit">登<span style="width:20px;"></span>录</button>
}
最新文章
- jvm内存默认大小,及如何调整大小
- Python学习二(生成器和八皇后算法)
- Progress.js – 为页面上的任意对象创建进度条效果
- SQLSERVER执行性能统计工具SQLQueryStress
- easyui textbox event 添加
- 如何开发 Grunt 插件
- PHP生成HTML页面顶部出现空白部分(&;#65279字符?)
- java基础之路(二)上
- 极简单的方式序列化sqlalchemy结果集为JSON
- Android Studio和eclipse混淆打包总结
- 关于IMP由拥有DBA权限的用户EXP数据时,数据存放表空间的几种情况(IMP-00013) -1
- CSS深入理解学习笔记之float
- [机器学习Lesson4]多元线性回归
- linux常用命令使用方法
- javascript的hashCode实现
- HDU 2276 Kiki &; Little Kiki 2(矩阵位运算)
- CRM 价格批导2<;上一个太多冗余>;
- 开发中解决Access-Control-Allow-Origin跨域问题的Chrome神器插件,安装及使用
- Storm目录树和任务提交过程
- scala 学习笔记二 方法与函数
热门文章
- csv 数据
- layui 表格内容显示更改
- win10常用详细快捷键大全
- C++之几个最常
- .NET Core多平台开发体验[4]: Docker
- 手动编译安装nginx
- JavaWeb开发SSM框架搭建详解
- IDEA使用Maven搭建SSM框架
- [SQL]LeetCode180. 连续出现的数字 | Consecutive Numbers
- [Swift]LeetCode371. 两整数之和 | Sum of Two Integers