摘要: 目前为加快客户浏览速度,直接通过页面整合脚本的开发较为流行,此项目初始也是如此:<html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta name="keywords" content="租车,客车租赁,接送机,旅游" /> <meta name=&qu 阅读全文
posted @ 2011-08-03 11:13 brainmao 阅读(674) 评论(0) 推荐(0) 编辑
摘要: 最近正好调试项目的支付接口,开月之初发个错误查询文档错误码 错误信息001000 记录网银充值请求失败 001001 更新原记录失败 001002 记录绑定卡请求失败 001003 记录PORTAL请求标识失败 001004 记录绑定卡充值请求失败 001005 记录提现信息失败 001006 查询原充值信息失败 001007 充值金额不相等 001008 主机交易超时 001009 系统错误 001010 主机交易失败 001011 查询原订单信息失败 001012 原绑定信息不存在 001013 数据库操作错误 001014 其他错误 001015 组织输出报文出错 001016 银行号不 阅读全文
posted @ 2011-08-01 16:33 brainmao 阅读(6779) 评论(1) 推荐(0) 编辑
摘要: 首先推荐大家去这个作者的地址看看:http://www.josscrowcroft.com/projects/motioncaptcha-jquery-plugin/演示地址:http://www.gbin1.com/technology/jquerynews/motioncaptchadrawshapes/demo.jsp该功能甚是有趣且具有创意,用鼠标或者更多的是在触屏手机上利用绘画技术来绘制图形,此验证码的表达形式在以后或许会很流行主要实现代码原理:How To UseAdd the plugin scripts: (I’m using jQuery 1.6.x from the goo 阅读全文
posted @ 2011-07-29 09:14 brainmao 阅读(477) 评论(0) 推荐(0) 编辑
摘要: 主要是利用遮罩的原理:<!--默认让登陆窗体不显示--> <style type="text/css"> #login { position: relative; } </style><!--窗体不显示执行结束-->上述主要实现默认让id=“login”登录窗体隐藏<!--点击登陆时弹出隐藏的登陆窗体--> <script type="text/javascript"> $(document).ready(function () { $("#yz").click( 阅读全文
posted @ 2011-07-28 09:50 brainmao 阅读(3164) 评论(1) 推荐(0) 编辑
摘要: 直接封装好的验证码类,随机数生成、噪点增加、图片获取,直接引用该类方法就可以实现,代码如下:using System.Collections.Generic;using System.IO;using System.Drawing;using System.Text;using System;namespace Core.Common.Tool{ /// <summary> /// 生成验证码和验证图片的方法类 /// </summary> public static class ValidateCode { #region 静态方法 /// <summary&g 阅读全文
posted @ 2011-07-27 10:35 brainmao 阅读(887) 评论(4) 推荐(0) 编辑
摘要: 首先从官方网站下载最近版本的log4net组件添加对log4net.dll的引用,就可以在程序中使用:<?xml version="1.0" encoding="utf-8" ?><configuration> <configSections> <section name="log4net" type="System.Configuration.IgnoreSectionHandler"/> </configSections> <appSetting 阅读全文
posted @ 2011-07-26 12:42 brainmao 阅读(2427) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Collections;using System.Text;namespace SourceManagement{ class TheDirectory { public TheDirectory(string path,string name,int level,TheDirectory parentDir) { this.Path = path; this.Name = name; this.level = level; this.ParentDirectory = par 阅读全文
posted @ 2011-07-25 13:06 brainmao 阅读(2699) 评论(0) 推荐(0) 编辑
摘要: 效果图:一款可圈可点的改名小工具设计实现还是不错的,主要实现代码如下:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.Linq;using System.Text;using System.Text.RegularExpressions;using System.Windows.Forms;namespace Beinet.cn.FilenameReplace{ 阅读全文
posted @ 2011-07-15 15:11 brainmao 阅读(550) 评论(0) 推荐(0) 编辑
摘要: 首先借助于一个DataHelper类usingSystem;usingSystem.Data;usingSystem.Data.SqlClient;namespaceNET.MST.Ninth.BatchUpdate{classDataHelper{//连接字符串staticreadonlyStringconn_String="Server=localhost;IntegratedSecurity=true;database=NetTest";//选择、更新、删除和插入的SQL命令staticreadonlyStringSQL_SELECT="SELECT*FRO 阅读全文
posted @ 2011-07-14 17:30 brainmao 阅读(526) 评论(0) 推荐(0) 编辑
摘要: 编辑器加载中...using System;using System.Collections.Generic;using System.Text;namespace NET.MST.Sixth.CatCry{ class MainClass { static void Main(string[] args) { //开始模拟场景 Console.WriteLine("开始模拟"); Cat cat = new Cat("汤姆猫"); Mouse mouse1 = new Mouse("米老鼠", cat); Mouse mouse2 阅读全文
posted @ 2011-07-12 15:51 brainmao 阅读(537) 评论(0) 推荐(0) 编辑