posted @ 2010-09-15 15:17 程旭圆 阅读(689) 评论(0) 推荐(0) 编辑
摘要:
一、firefox不支持innerText二、firefox下的window.location.reload(true)会引起post请求,ie不会。 用window.location.replace(window.location.href),强制加载页面两者都不会引起post请求。三、firef... 阅读全文
摘要:
XMLHTTPRequest.getResponseHeader("Content-Type")的返回值 如果后台使用C#输出文件时同时指定文件类型和编码,例如: Response.ContentType = "text/xml";Response.Charset = "UTF-8"; 则XMLHT... 阅读全文
posted @ 2010-06-23 13:19 程旭圆 阅读(2725) 评论(0) 推荐(1) 编辑
摘要:
foreach (string key in Request.ServerVariables.AllKeys){Response.Write("key + ":" + Request.ServerVariables[key] + "");} ALL_HTTP:HTTP_CONNECTION:Kee... 阅读全文
posted @ 2010-06-12 17:54 程旭圆 阅读(380) 评论(0) 推荐(0) 编辑
摘要:
declare @Name1 nvarchar(50),@Name2 nvarchar(50),@ID1 int,@ID2 intselect @Name1=Name,@ID1=CustomerID from dbo.customTable where CustomerID=519 order by... 阅读全文
posted @ 2010-06-09 22:15 程旭圆 阅读(505) 评论(0) 推荐(0) 编辑
摘要:
void void 运算符对任何值返回 undefined。该运算符通常用于避免输出不应该输出的值,例如,从 HTML 的 元素调用 JavaScript 函数时。要正确做到这一点,函数不能返回有效值,否则浏览器将清空页面,只显示函数的结果。例如:Click me 如果把这行代码放入 HTML ... 阅读全文
posted @ 2010-05-21 17:19 程旭圆 阅读(193) 评论(0) 推荐(0) 编辑
摘要:
VS2008 C# 语言规范路径 C:\Program Files\Microsoft Visual Studio 9.0\VC#\Specifications\2052 阅读全文
posted @ 2010-05-13 09:33 程旭圆 阅读(247) 评论(0) 推荐(0) 编辑
摘要:
命名空间: System.Linq程序集: System.Core(在 System.Core.dll 中) List fruits = new List { "apple", "passionfruit", "banana", "mango", "orange", "blueberry", "g... 阅读全文
posted @ 2010-05-05 23:00 程旭圆 阅读(280) 评论(0) 推荐(0) 编辑