摘要: <script language="javascript" type="text/javascript"> function btnClick() { var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); if (!xmlhttp) { alert("创建xmlhttp对象失败!"); return false; } xmlhttp.open("POST", "GetData1.ashx?ts=" + new 阅读全文
posted @ 2011-03-10 10:06 ycmoon 阅读(410) 评论(0) 推荐(0) 编辑
摘要: 为了不让错误信息直接展现给客户端,需要Web.Config中定义错误信息的配置,指定发生错误后转向的页面<customErrors mode="RemoteOnly" defaultRedirect="~/GenericErrorPage.htm"> <error statusCode="403" redirect="~/NoAccess.htm" /> <error statusCode="404" redirect="~/FileNotFound.ht 阅读全文
posted @ 2011-03-10 09:21 ycmoon 阅读(457) 评论(0) 推荐(0) 编辑
QQ:817647 MSN:kenny@msn.cn EMail:ycmoon@qq.com