摘要: 第一、首先下载 WindICFrameNet.dll 下载地址:http://pan.baidu.com/s/1dDBqC9r第二、前台代码 标题 ... 阅读全文
posted @ 2013-12-24 11:52 王洪洪 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 第一、首先下载WebUIControl.dll http://pan.baidu.com/s/1gdkilDh第二、添加引用三、应用实例-前台代码 BianMaList 编码表管理 ... 阅读全文
posted @ 2013-12-24 11:45 王洪洪 阅读(364) 评论(0) 推荐(0) 编辑
摘要: 第一、首先在mysql中创建一个存储过程BEGIN/* @selectSql VARCHAR(5000), --sql语句 @orderWhere VARCHAR(200), --排序条件 @pageSize int, -- 每页多少条记录 @pageIndex int = 1 , -- 指定当前为第几页 @TotalPage int output , -- 返回总页数 @totalCount int output -- 返回总记录数*/ SET @str=CONCA... 阅读全文
posted @ 2013-12-24 11:25 王洪洪 阅读(1152) 评论(0) 推荐(0) 编辑
摘要: 第一、首先在sqlserver中创建一个存储过程USE [BZY]GO/****** 对象: StoredProcedure [dbo].[up_ProcCustomPage2005_New] 脚本日期: 12/24/2013 11:17:03 ******/SET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGO-- =============================================-- Author: -- Create date: -- Description: -- =================... 阅读全文
posted @ 2013-12-24 11:24 王洪洪 阅读(418) 评论(0) 推荐(0) 编辑
摘要: 一、首先下载log4net.dll http://pan.baidu.com/s/1gdigrwJ 二、添加log4net引用 三、代码: using System;using System.Collections.Generic;using System.Linq;using S... 阅读全文
posted @ 2013-12-24 11:06 王洪洪 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 第一、首先下载nlog.dll 下载地址:http://pan.baidu.com/s/1i3DQsV7第二、添加nlog.ll的引用第三、代码private static Logger log = LogManager.GetCurrentClassLogger(); protected void Page_Load(object sender, EventArgs e) { //记录错误日志 log.Error("发生了一个异常"); //记录严重错误 log.Fatal("... 阅读全文
posted @ 2013-12-24 11:03 王洪洪 阅读(680) 评论(0) 推荐(0) 编辑
摘要: 一、首先下载log4net.dll http://pan.baidu.com/s/1gdigrwJ二、添加log4net引用三、代码:using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using log4net;using System.Reflection;namespace WebApplication1{ public partial class _Default : ... 阅读全文
posted @ 2013-12-24 11:01 王洪洪 阅读(932) 评论(0) 推荐(0) 编辑
摘要: /// designed by Alex /// 解决内存溢出问题,不可使用迭代器和foreach /// 循环遍历List, 别生成xml,一边释放 /// 反向遍历,相当于出栈,避免索引顺序乱的问题 /// 反转List. if (zrate.RateList != null && zrate.RateList.Count != 0) { log.Debug("反转list... 阅读全文
posted @ 2013-12-24 10:50 王洪洪 阅读(359) 评论(0) 推荐(0) 编辑
摘要: /// designed by Alex /// 解决内存溢出问题,不可使用迭代器和foreach /// 循环遍历List, 别生成xml,一边释放 /// 反向遍历,相当于出栈,避免索引顺序乱的问题 ... 阅读全文
posted @ 2013-12-24 10:49 王洪洪 阅读(259) 评论(0) 推荐(0) 编辑