闲坐敲棋

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

导航

上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页

2009年8月11日

摘要: 方法一 算法 : public int isLeft(Point P0, Point P1,Point P2) { int abc= ((P1.X - P0.X) * (P2.Y - P0.Y) - (P2.X - P0.X) * (P1.Y - P0.Y)); return abc; } private bool PointInFences(Point pnt1, Point[] fenceP... 阅读全文

posted @ 2009-08-11 22:04 闲坐敲棋 阅读(1369) 评论(0) 推荐(0) 编辑

2009年8月7日

摘要: ^([0-9a-fA-F]{2})(([0-9a-fA-F]{2}){5})$ 阅读全文

posted @ 2009-08-07 09:12 闲坐敲棋 阅读(347) 评论(0) 推荐(0) 编辑

2009年8月5日

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;namespace DataSetHelper{ public class DataSetHelper { public DataSet ds; private System.Collections.... 阅读全文

posted @ 2009-08-05 13:18 闲坐敲棋 阅读(1643) 评论(0) 推荐(0) 编辑

2009年8月4日

摘要: /*=========2009-1-14=========*/$()=$(document)//实现window.onload()效果$().ready(function(){//需要执行的内容});//获取DOM元素(返回值为jQuery对象)$("element")//相应元素名的$(".classname")//class值匹配的$("element.classname")//相应元素中,c... 阅读全文

posted @ 2009-08-04 15:36 闲坐敲棋 阅读(127) 评论(0) 推荐(0) 编辑

2009年8月1日

摘要: --建立测试环境 Create Table 表(区域 varchar(100),类型 varchar(100),价格 varchar(100)) --插入数据 insert into 表 select '1长春','1.标准全球通','234' union select '1长春','2.全球通资费套餐','5423' union select '1长春','3.全球通优惠','454... 阅读全文

posted @ 2009-08-01 10:56 闲坐敲棋 阅读(123) 评论(0) 推荐(0) 编辑

摘要: public class GetMac{ [DllImport("Iphlpapi.dll")] private static extern int SendARP(Int32 dest, Int32 host, ref Int64 mac, ref Int32 length); [DllImport("Ws2_32.dll")] private static extern Int32 inet_... 阅读全文

posted @ 2009-08-01 10:54 闲坐敲棋 阅读(183) 评论(0) 推荐(0) 编辑

2009年7月18日

摘要: MessageBox.Show("确定要操作么", "提示", MessageBoxButtons.OKCancel) == DialogResult.OK 阅读全文

posted @ 2009-07-18 03:35 闲坐敲棋 阅读(279) 评论(0) 推荐(0) 编辑

摘要: create table TestTableTrigger(BH varchar(8))GOset ANSI_NULLS ONset QUOTED_IDENTIFIER ONSET ANSI_WARNINGS OFF goALTER trigger [dbo].[Trigger_Insert] on [dbo].[TestTableTrigger] instead of insert as sel... 阅读全文

posted @ 2009-07-18 02:29 闲坐敲棋 阅读(137) 评论(0) 推荐(0) 编辑

2009年7月17日

摘要: 转载: http://hi.baidu.com/festsoft/blog/item/98cf377b3f1456f00ad1871f.html问题描述假设有张学生成绩表(CJ)如下Name Subject Result张三 语文 80张三 数学 90张三 物理 85李四 语文 85李四 数学 92李四 物理 82现在 想写 sql 语句 查询后结果 为 姓名 语文 数学 物理张三 80 90 8... 阅读全文

posted @ 2009-07-17 13:05 闲坐敲棋 阅读(325) 评论(0) 推荐(0) 编辑

2009年7月14日

摘要: 1.只能输入汉字的 <input onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\u4E00-\u9FA5]/g,''))"> 2.只能输入数字的: <... 阅读全文

posted @ 2009-07-14 18:23 闲坐敲棋 阅读(430) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页