闲坐敲棋

有约不来过夜半,闲敲棋子落灯花

导航

09 2009 档案

摘要:using System;using System.Collections.Generic;using System.Text;using System.Text.RegularExpressions;namespace Ctr.Common.Tools{ /// <summary> /// 汉字转拼音静态类,包括功能全拼和缩写,方法全部是静态的 /// </summary>... 阅读全文

posted @ 2009-09-30 10:08 闲坐敲棋 阅读(316) 评论(0) 推荐(0)

摘要:protected void DtToExcel(DataSet ds, string tableName, bool containColumName,string fileName) { if (ds == null || (!ds.Tables.Contains(tableName) && ds.Tables.Count < int.Parse(tableName))... 阅读全文

posted @ 2009-09-29 11:49 闲坐敲棋 阅读(252) 评论(0) 推荐(0)

摘要:(function(jQuery){messager:{ size:{width:250,height:150}, title:"信息提示", time:4000, timer:null, timerTitle:null, docTitle:"", init:function(title,text){ if($("#message").is("div"))return; var date =new... 阅读全文

posted @ 2009-09-25 14:58 闲坐敲棋 阅读(528) 评论(0) 推荐(0)

摘要:<script>var g_blinkswitch = 0;var g_blinktitle = document.title;function blinkNewMsg(){document.title = g_blinkswitch % 2==0 ? "【   】 - " + g_blinktitle : "【新消息】 - " + g_blinktitle;g_blinkswitch... 阅读全文

posted @ 2009-09-14 20:50 闲坐敲棋 阅读(170) 评论(0) 推荐(0)

摘要:■隐藏横向的分隔线:<table border rules=cols cellspacing=0 align=left> 例一:■隐藏纵向的分隔线<table border rules=rows cellspacing=0 align=right>例二:■隐藏横向和纵向分隔线<table border rules=none cell... 阅读全文

posted @ 2009-09-14 12:55 闲坐敲棋 阅读(1913) 评论(0) 推荐(0)

摘要:create table YingShe(CHR char(2),PY varchar(10)) create table #tempa(CHR char(2),PY varchar(10)) create table #tempb(CHR char(2),PY varchar(10)) create table #tempc(CHR char(2),PY varchar(10)) create ... 阅读全文

posted @ 2009-09-10 17:30 闲坐敲棋 阅读(1009) 评论(0) 推荐(0)

摘要:--2. 汉字首字母查询处理用户定义函数CREATE FUNCTION f_GetPY(@str nvarchar(4000))RETURNS nvarchar(4000)ASBEGINDECLARE @py TABLE(ch char(1),hz1 nchar(1) COLLATE Chinese_PRC_CS_AS_KS_WS,hz2 nchar(1) COLLATE Chinese_PRC_... 阅读全文

posted @ 2009-09-10 17:28 闲坐敲棋 阅读(341) 评论(0) 推荐(0)

摘要:--------------封装输入框类using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Text;using System.Windows.Forms;using System.Collectio... 阅读全文

posted @ 2009-09-10 00:30 闲坐敲棋 阅读(1484) 评论(1) 推荐(0)

摘要:<HTML><HEAD> <SCRIPT language=JavaScript> <!-- /**//* ** ================================================================================================== ** 类名:CLASS_MSN_MESSAG... 阅读全文

posted @ 2009-09-09 19:59 闲坐敲棋 阅读(244) 评论(0) 推荐(0)

摘要:<a href="javascript:void(0)" onclick=" return Do()?false:false"></a> 阅读全文

posted @ 2009-09-09 09:04 闲坐敲棋 阅读(627) 评论(0) 推荐(0)

摘要://************************************************************************// Added by : ****// 功能 : 半角数字Check// 返回值 : 1.boolean// 参数 : 1.Check Object(strObj) // 2.负号(mFlag) 1: 允许输入负数// 3.小数点(pFlag) 1:... 阅读全文

posted @ 2009-09-07 14:57 闲坐敲棋 阅读(245) 评论(0) 推荐(0)

摘要:using System;using System.Text;using System.Text.RegularExpressions;using System.Security.Cryptography;using System.IO;using System.Drawing;using System.Drawing.Drawing2D;using System.Drawing.Imaging;... 阅读全文

posted @ 2009-09-07 14:54 闲坐敲棋 阅读(437) 评论(0) 推荐(0)

摘要:private void ThreadShowImage(MyImage obj) { Thread t = new Thread(new ParameterizedThreadStart(ShowImage)); t.IsBackground = true; try { t.Start(obj); } catch { return; } }===========================... 阅读全文

posted @ 2009-09-03 17:23 闲坐敲棋 阅读(277) 评论(0) 推荐(0)

摘要:farther.html --------------------------- <!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.0Transitional//EN"><HTML><HEAD><TITLE>NewDocument</TITLE><METAcontent="EditPlus"name="Gen... 阅读全文

posted @ 2009-09-03 17:14 闲坐敲棋 阅读(701) 评论(0) 推荐(0)

摘要:public static Bitmap BytesToBitmap(byte[] Bytes) { MemoryStream stream = null; try { stream = new MemoryStream(Bytes); return new Bitmap((Image)new Bitmap(stream)); } catch (ArgumentNullException ex) ... 阅读全文

posted @ 2009-09-03 17:11 闲坐敲棋 阅读(988) 评论(0) 推荐(0)

摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Linq;using System.Text;using System.Windows.Forms;using System.Collections... 阅读全文

posted @ 2009-09-01 23:10 闲坐敲棋 阅读(3731) 评论(1) 推荐(0)