会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
不积跬步无以至千里
表达是最好的记忆!
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
下一页
2015年6月3日
第 4 节: 4-Cookie实现记住用户名
摘要: Login.html模板页: 用户名: 密码: Login.ashx:using System;using System.Collections.Generic;using System.Linq;using System.Web;u...
阅读全文
posted @ 2015-06-03 10:22 t800
阅读(116)
评论(0)
推荐(0)
2015年6月2日
cookie细节问题
摘要: 第 3 节: 3-Cookie的细节问题11、cookie是和浏览器相关的,不同的浏览器cookie信息是不能公用的~!!2、浏览器开了。隐身模式的话,cookie信息也是读取不到的~!!3、手动的将浏览器中的cookie信息删除后,也是读取不到cookie信息~!!设置cookie信息:Cooki...
阅读全文
posted @ 2015-06-02 14:51 t800
阅读(99)
评论(0)
推荐(0)
Cookie的写入和读取的过程
摘要: 服务器端写cookie: public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/html"; //1、调用C...
阅读全文
posted @ 2015-06-02 14:47 t800
阅读(775)
评论(0)
推荐(0)
Http协议时无状态的,没有记忆功能,连接--传送--断开
摘要: 一个案例验证:MomeryTest.html MomeryTest.ashxusing System;using System.Collections.Generic;using System.Linq;usin...
阅读全文
posted @ 2015-06-02 14:19 t800
阅读(125)
评论(0)
推荐(0)
文件上传练习
摘要: 1、Combine(Path1,fileName)自动判断Path1后边是否有反斜线,没有就自动添加上;2、Server.MapPath里不用考虑,正反斜线的问题,。net引擎会自动处理这个问题。。(路径中的斜线问题)
阅读全文
posted @ 2015-06-02 14:08 t800
阅读(178)
评论(0)
推荐(0)
练习文件保存按照日期来创建文件夹,并保存
摘要: 上传页面: 处理页面:using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Web;namespace Web1{...
阅读全文
posted @ 2015-06-02 14:02 t800
阅读(336)
评论(0)
推荐(0)
第 1 节: 1-文本自增演示HttpHandler不记忆状态
摘要: 1、命名空间和文件夹的名字可以不一样吗?答案是可以的。编译时可以通过的,你也可以设置命名空间的名字与文件夹的名字不一致;(面试问题)2、类中的成员字段int类型,privateinti;//每次初始化完毕后都是0;3、地址栏每次请求。IncDemo.ashx程序,都会将.ashx中的类重新new一个...
阅读全文
posted @ 2015-06-02 13:54 t800
阅读(97)
评论(0)
推荐(0)
2015年6月1日
员工Emp表的增删改查实现!本实验室目的是为了了解模板页的好处!1231312313
摘要: 1、使用字符串拼接的不好的地方:using System;using System.Collections.Generic;using System.Data;using System.Data.SqlClient;using System.Linq;using System.Web;namespa...
阅读全文
posted @ 2015-06-01 19:34 t800
阅读(266)
评论(0)
推荐(0)
员工Emp表的增删改查实现!本实验室目的是为了了解模板页的好处!
摘要: 1、使用字符串拼接的不好的地方:using System;using System.Collections.Generic;using System.Data;using System.Data.SqlClient;using System.Linq;using System.Web;namespa...
阅读全文
posted @ 2015-06-01 19:30 t800
阅读(268)
评论(0)
推荐(0)
Companys公司表的增删该查功能实现
摘要: 1、先在数据库实创建好表,并写下联合查询语句selecta.Name,a.Address,b.NamefromCompanysaleftjoinManagersbona.ManagerId=b.id;2、如下图:3、完成公司列表展示的html页面 新增 ...
阅读全文
posted @ 2015-06-01 19:16 t800
阅读(232)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
下一页
公告