Exceptions: An exception is transfer of control to the operating system in response to some event. exception processing by exception handler Process(进...
分类:
其他好文 时间:
2014-11-23 15:38:24
阅读次数:
271
C#或ASP.NET的简单绘图 1 public void ProcessRequest (HttpContext context) { 2 context.Response.ContentType = "img/JPEG"; 3 using(System.Drawi...
using System.Net;GET:123var request = (HttpWebRequest)WebRequest.Create("http://www.leadnt.com/recepticle.aspx");var response = (HttpWebResponse)reque...
分类:
Windows程序 时间:
2014-11-21 18:27:42
阅读次数:
1238
关闭子窗体时,要刷新父窗体,百度了很多像使用“window.opener.location.reload();”都不行,和easyui框架是有区别的在子窗体里写Response.Write(""); ---不行直接reload重新载入页面代码操作起来方便一点不容易出错easyui的应该是你点击关闭....
分类:
Web程序 时间:
2014-11-21 15:50:54
阅读次数:
195
1. 用Response.Write方法 代码如下: Response.Write(""); 此方法缺陷就是不能调用脚本文件中的自定义的函数,只能调用内部函数,具体调用自定义的函数只能在Response.Write写上函数定 义,比如 Response.Write("");3.普通的添加控件...
分类:
编程语言 时间:
2014-11-21 14:08:34
阅读次数:
210
理论描述: Serial polling is a method of obtaining specific information from GPIB devices when they request service. When you conduct a serial poll, the C....
分类:
其他好文 时间:
2014-11-20 18:42:21
阅读次数:
326
一,做项目遇到的小问题,点击一个图片链接,要求弹出一个窗体,原本是用的Response.Redirect();跳转到目标页面,为了美观改用弹出窗体:上面是我的源代码例子;说明:基本语法window.open(pageURL,name,parameters)其中:pageURL 为子窗口路径name ...
test servlet/** * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) */ protected void doGet(HttpServletReq...
分类:
Web程序 时间:
2014-11-20 18:20:42
阅读次数:
168
Cookie跨子域、虚拟目录, 实现通行证登录Cookie有三个属性需要注意一下:1. Domain 域2. Path 路径3. Expires 过期时间跨域操作需要设置域属性:Response.Cookies("MyCookie").Domain = "cnblogs.com"; (这里指的是泛域...
分类:
其他好文 时间:
2014-11-20 13:34:56
阅读次数:
271
refer tohttp://stackoverflow.com/questions/896974/apache-is-not-sending-304-response-if-mod-deflate-and-addoutputfilterbytype-ishttp://scarff.id.au/bl...
分类:
Web程序 时间:
2014-11-19 17:44:15
阅读次数:
207