摘要: 辅助类代码using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Caching;namespace BusinessRules.Common{ /// ... 阅读全文
posted @ 2014-07-12 18:08 流浪在阿尔卑斯的野狼 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 后台代码: /// /// 绑定下拉菜单 /// private void BindDropList() { DataTable dt = bacManage.GetAllArticleCategory(); ... 阅读全文
posted @ 2014-07-09 18:46 流浪在阿尔卑斯的野狼 阅读(881) 评论(0) 推荐(0) 编辑
摘要: 1 ///获取List的集合值 2 foreach (DataRow row in dt.Rows) 3 { 4 list.Add(row["HJMC"].ToStrin... 阅读全文
posted @ 2014-07-09 15:47 流浪在阿尔卑斯的野狼 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 放狗搜索动态调用webservices 的类,太多。问题挺纠结的。公司需要net调用java的webservices接口,蛋疼的是java端的接口,全部传入String类型的数据。蛋疼啊,接口你不编写成传递参数的形式就算了,尼玛,传递的对象是String(把xml格式化成string类型,在使用报文... 阅读全文
posted @ 2014-05-15 12:44 流浪在阿尔卑斯的野狼 阅读(1213) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Text;using System.Data;using System.Xml;using System.IO;using System.Web;namespace Utility{... 阅读全文
posted @ 2014-05-13 14:36 流浪在阿尔卑斯的野狼 阅读(390) 评论(0) 推荐(0) 编辑
摘要: ftpUrl=$ftpUrl; } if($ftpUser){ $this->ftpUser=$ftpUser; } if($ftpPass){ $this->ftpPass=$ftpPass; ... 阅读全文
posted @ 2014-05-13 08:48 流浪在阿尔卑斯的野狼 阅读(287) 评论(0) 推荐(0) 编辑
摘要: //时钟显示 function clockon() { var now = new Date(); var year = now.getFullYear(); //getFullYear getYear var month = now.getMo... 阅读全文
posted @ 2014-05-12 09:39 流浪在阿尔卑斯的野狼 阅读(568) 评论(0) 推荐(0) 编辑
摘要: /// /// 无视代理,返回真实IP /// /// public static string GetClientIP() { if (HttpContext.Current.Requ... 阅读全文
posted @ 2014-05-12 09:24 流浪在阿尔卑斯的野狼 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Runtime.InteropServices; 6 using System.IO; 7 8 namespace CommonLibrary 9 {10 11 public class ConfigHelper12 {13 public string iniPath;14 /// 15 /// 写入ini文件的... 阅读全文
posted @ 2013-09-13 23:23 流浪在阿尔卑斯的野狼 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 0 操作成功完成。1 功能错误。2 系统找不到指定的文件。3 系统找不到指定的路径。4 系统无法打开文件。5 拒绝访问。6 句柄无效。7 存储控制块被损坏。8 存储空间不足,无法处理此命令。9 存储控制块地址无效。10 环境错误。11 试图加载格式错误的程序。12 访问码无效。13 数据无效。14 存储器不足,无法完成此操作。15 系统找不到指定的驱动器。16 无法删除目录。17 系统无法将文件移到不同的驱动器。18 没有更多文件。19 介质受写入保护。20 系统找不到指定的设备。21 设备未就绪。22 设备不识别此命令。23 数据错误 (循环冗余检查)。24 程序发出命令,但命令长度不正确。 阅读全文
posted @ 2013-05-18 11:01 流浪在阿尔卑斯的野狼 阅读(843) 评论(0) 推荐(0) 编辑