上一页 1 2 3 4 5 6 7 ··· 13 下一页
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--定义string变量为str,内存流变量为ms,比特数组为bt1.字符串转比特数组(1)byte[]bt=System.Text.Encoding.Default.GetBytes("字符串");(2... 阅读全文
posted @ 2010-06-25 17:01 melody&bobo 阅读(434) 评论(0) 推荐(0) 编辑
摘要: GSM 03.40规范(TP-06 1999-12-15 7.4.0)中规定了SME对于超长短信的合并处理。规范制定至今,已经超过6年,绝大多数正在使用的手机,都支持这一功能。CMPP协议中,CMPP_SUBMIT_MESSAGE中有两个字段pk_total和pk_numer,恰看起来,这就是发送超长短信的设置参数,其实不然,这两个参数的设置,应该是没有用处。发送超长短信,需要做两件事情:设置TP... 阅读全文
posted @ 2010-06-21 09:46 melody&bobo 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 并非同类型协议CMPP和SMPP都是短信协议中的一种,但它们不是同一类型的协议。SMPP和ESME和SMC(短信中心)之间的协议,而CMPP是SP和中国移动ISMG之间的通讯协议。以下是CMPP 3.0文档中的图示。<!--[if !vml]--><!--[endif]-->与CMPP对应的协议有,联通的SGIP协议,中国电信的SMGP协议,网通的CNGP协议。作为SP,只... 阅读全文
posted @ 2010-06-21 09:45 melody&amp;amp;amp;bobo 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 1.当前系统日期、时间selectgetdate()2.dateadd在向指定日期加上一段时间的基础上,返回新的datetime值例如:向日期加上2天selectdateadd(day,2,'2004-10-15')--返回:2004-10-1700:00:00.0003.datediff返回跨两个指定日期的日期和时间边界数。selectdatediff(day,'2004-09-01','200... 阅读全文
posted @ 2010-06-08 11:03 melody&amp;amp;amp;bobo 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--publicstringGetFileHash(stringfilepath){FileStreamfilestream=newFileStream(filepath,FileMode.Open,Fi... 阅读全文
posted @ 2010-06-03 16:27 melody&amp;amp;amp;bobo 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 提交页面:[代码]接受页面:[代码] 阅读全文
posted @ 2010-05-17 15:59 melody&amp;amp;amp;bobo 阅读(368) 评论(0) 推荐(0) 编辑
摘要: 随着“金盾工程”建设的逐步深入和公安信息化的高速发展,公安计算机应用系统被广泛应用在各警种、各部门。与此同时,应用系统体系的核心、系统数据的存放地――数据库也随着实际应用而急剧膨胀,一些大规模的系统,如人口系统的数据甚至超过了1000万条,可谓海量。那么,如何实现快速地从这些超大容量的数据库中提取数据(查询)、分析、统计以及提取数据后进行数据分页已成... 阅读全文
posted @ 2010-05-12 16:58 melody&amp;amp;amp;bobo 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 列转化成行--> --> (Roy)生成測試數據if not object_id('Class') is null drop table ClassGoCreate table Class([Student] nvarchar(2),[Course] nvarchar(2),[Score] int)Insert Classselect N'张三',N'语文',78 union alls... 阅读全文
posted @ 2010-05-11 16:19 melody&amp;amp;amp;bobo 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 这时才想起跨库查询了。1.开通分布式查询权限exec sp_configure 'show advanced options',1 reconfigure exec sp_configure 'Ad Hoc Distributed Queries',1 reconfigure 2.查询select a.ProjCode as '楼盘编号',b.projname as '楼盘名称',count(1)... 阅读全文
posted @ 2010-05-06 13:16 melody&amp;amp;amp;bobo 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--createPROCEDURE[dbo].[P_GetPagedReCord](@startIndexINT,--开始索引号@endindexINT,--结束索引号@tblNamevarchar(25... 阅读全文
posted @ 2010-04-20 16:54 melody&amp;amp;amp;bobo 阅读(319) 评论(2) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 13 下一页