摘要: 报错原因:RuntimeError Description:Anapplicationerroroccurredontheserver.Thecurrentcustomerrorsettingsforthisapplicationpreventthedetailsoftheapplicationerrorfrombeingviewedremotely(forsecurityreasons).Itcould,however,beviewedbybrowsersrunningonthelocalservermachine.Details:Toenablethedetailsofthisspecif 阅读全文
posted @ 2012-11-23 18:05 东北大亨 阅读(247) 评论(0) 推荐(0) 编辑
摘要: 之前用的时候,没问题,后面换了个项目,居然报错了,郁闷至极。经过查找原因,艰难的找了原来是Framework的问题,原来用的2.0,后面变成了4.0,验证级别也更高了;解决办法:在config文件中加一句:<httpRuntime requestValidationMode="2.0" />,意思就是启用2.0的验证; 阅读全文
posted @ 2012-11-23 18:03 东北大亨 阅读(145) 评论(0) 推荐(0) 编辑
摘要: /***************************************************** 功能: 右上角显示加载信息* 创建者: d东北大亨 * 时间:2012-11-12*****************************************************/$(function() { overlay_init(); });function overlay_init() { rightOverlay_write() // $("#r_overlay").remove(); $("#r_overlay").hide 阅读全文
posted @ 2012-11-23 14:06 东北大亨 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 右上角显示加载信息$(function() { overlay_init(); });function overlay_init() { rightOverlay_write() $("#r_overlay").hide();}//在右上角显示加载动画function rightOverlay_write() { $('body').append('<div id="r_overlay" style="z-index:999999;padding:2px 10px;position:fixed !important 阅读全文
posted @ 2012-11-16 11:34 东北大亨 阅读(255) 评论(0) 推荐(0) 编辑
摘要: USE [NorthEastTyccon]GO/****** Object: StoredProcedure [dbo].[NorthTyccon_ProcPage] Script Date: 11/16/2012 11:13:33 ******/SET ANSI_NULLS OFFGOSET QUOTED_IDENTIFIER OFFGOCREATE PROCEDURE [dbo].[NorthTyccon_ProcPage](@tbname nvarchar(100), --要分页显示的表名@FieldKey nvarchar(1000), --用于定位记录的主键(惟一键)字段,可以是逗号 阅读全文
posted @ 2012-11-16 11:16 东北大亨 阅读(194) 评论(0) 推荐(0) 编辑
摘要: SQLSTATE消息本节列示SQLSTATE及其含义。表2. SQLSTATE类代码 类代码含义 要获得子代码,参阅...00完全成功完成 表301警告 表402无数据 表507动态SQL错误 表608连接异常 表709触发操作异常 表80A功能部件不受支持 表90D目标类型规范无效 表100F无效标记 表110K RESIGNAL语句无效 表120N SQL/XML映射错误 表1320找不到CASE语句的条件 表1521基数违例 表1622数据异常 表1723约束违例 表1824无效的游标状态 表1925无效的事务状态 表2026无效SQL语句标识 表2128无效权限规范 表232D无效事务 阅读全文
posted @ 2012-11-16 11:03 东北大亨 阅读(1557) 评论(0) 推荐(0) 编辑
摘要: sql top 实例sql server 语法:SELECT TOP number|percent column_name(s)FROM table_name例子:SELECT TOP 2 * FROM employee sql 语句中 percent 的用法:从 "employee" 表中选取 50% 的记录。我们可以使用下面的 SELECT 语句:SELECT TOP 50 PERCENT * FROM employeeDB2 中的实现方式为:语法为:select column_name(s)from table_namefetch first number rows 阅读全文
posted @ 2012-11-16 10:19 东北大亨 阅读(710) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2012-11-12 12:24 东北大亨 阅读(239) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>first-5</title> 阅读全文
posted @ 2012-11-06 16:04 东北大亨 阅读(161) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>first-4</title> 阅读全文
posted @ 2012-11-06 16:00 东北大亨 阅读(185) 评论(0) 推荐(0) 编辑