摘要: 验证码处理要增加ValidateCode 退出登录 这样验证码要使用 11.13 阅读全文
posted @ 2017-04-09 17:01 liusheng11188 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Ajax AJAX:”Asynchronous JavaScript and XML”中文意思:异步JavaScript和XML。指一种创建交互式网页应用的网页开发技术。AJAX并非缩写词,而是由Jesse James Gaiiett创造的名词。 不是指一种单一的技术,而是有机地利用了一系列相关的技 阅读全文
posted @ 2017-04-09 16:32 liusheng11188 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1 客户端 2 3 4 用户名: 5 密码: 6 记住我: 7 8 9 10 11 12 服务器端 13 public partial class CookieLogin : System.Web.UI.Page 14 { 15 protected voi... 阅读全文
posted @ 2017-04-09 16:17 liusheng11188 阅读(297) 评论(0) 推荐(0) 编辑
摘要: 1 客户端 2 3 4 用户名:"/> 5 密码: 6 7 8 9 10 服务器端 11 public partial class Login : System.Web.UI.Page 12 { 13 public string UserName; 14 pro... 阅读全文
posted @ 2017-04-09 16:04 liusheng11188 阅读(523) 评论(0) 推荐(0) 编辑
摘要: 此处是aspx里面分页显示,数据层和业务层是由动软生成 当然,我们也可以可以利用listView实现分页ListView(高效分页) 阅读全文
posted @ 2017-04-09 16:01 liusheng11188 阅读(896) 评论(0) 推荐(0) 编辑
摘要: //这里做验证 public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; Common.ValidateCode validateCode = new Common.V 阅读全文
posted @ 2017-04-09 15:33 liusheng11188 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 验证码 生成缩略图-->后面直接去调用就OK了 水印图 文件下载 文件上传 PageBar 阅读全文
posted @ 2017-04-09 15:22 liusheng11188 阅读(371) 评论(0) 推荐(0) 编辑
摘要: protected void Page_Load(object sender, EventArgs e) { //当前用户通过Index.aspx页面中“添加用户”链接跳转到该页面时,这是一次get请求,所以不会提交表单,拿不到隐藏域的值。当前页面显示完成,用户在表单中输入数据以后单击提交,这是一次post请求,那么这次请求会将表单中的隐藏提交到服务端。... 阅读全文
posted @ 2017-04-09 14:32 liusheng11188 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 1.首先展示列表 ashx 讲究的是个替换 这些就是属于ashx麻烦的地方 修改 展示 阅读全文
posted @ 2017-04-09 14:16 liusheng11188 阅读(739) 评论(0) 推荐(0) 编辑
摘要: 在用户列表中链接数据库 在这里Html只管做Post 请求,其他逻辑全部交给ashx 其中修改需要隐藏域 1.展现列表 在这里的html里面指定AddUserInfo.html 后续 阅读全文
posted @ 2017-04-09 13:32 liusheng11188 阅读(370) 评论(0) 推荐(0) 编辑