1、建立test数据库;2、创建test1数据表;test1表属性如下:其中,ID字段设置为标识增量,增量种子为1;这个实例是实现从第一行数据开始,将每一行最后一个字段值加下一行第二个字段值再减去第三个字段值,并用获得的新值更新当前行最后一个字段值,循环执行,直到所有记录均完成更新为止。(这段代码是...
                            
                            
                                分类:
数据库   时间:
2014-05-09 05:19:33   
                                阅读次数:
361
                             
                         
                    
                        
                            
                            
                                Hornetq 版本2.4.0final 
需要JDK7及以上Hornetq官网Hornetq2.1中文手册step1.启动服务端 1.1准备配置文件(配置说明参考官网手册) 
hornetq-configuration.xml 192.168.0.215 ...
                            
                            
                                分类:
Web程序   时间:
2014-05-09 05:13:31   
                                阅读次数:
900
                             
                         
                    
                        
                            
                            
                                在Framework中存在着4种定时器:其中分为两类,多线程计时器1:System.Threading.Timer2:System.Timers.Timer特殊目的的单线程计时器:1:System.Windows.Forms.Timer(Windows 
Forms Timer)2:System.Wi...
                            
                            
                                分类:
其他好文   时间:
2014-05-09 05:00:21   
                                阅读次数:
283
                             
                         
                    
                        
                            
                            
                                最近学习要求做网络编程,使用从网上找了一些资料,主要是网络协议的分层等通讯,你可以查看英文版的资料:CScharp网络编程英文版下面直接给出代码吧,我想一看应该就懂。TCP 
Client 代码:using System;using System.Collections.Generic;using S...
                            
                            
                                分类:
其他好文   时间:
2014-05-09 04:50:07   
                                阅读次数:
507
                             
                         
                    
                        
                            
                            
                                开源分享最近一个客户要做一个将数据直接输出到指定格式的Excel模板中,略施小计,搞定其中包含了对Excel的增行和删行,打印预览,表头,表体,表尾的控制using 
System;using System.Collections.Generic;using System.Linq;using Sys...
                            
                            
                                分类:
其他好文   时间:
2014-05-09 04:33:07   
                                阅读次数:
495
                             
                         
                    
                        
                            
                            
                                以 finddialog 为例,介绍 QDialog。并对 Qt 
的基本概念和技巧做了更进一步(chap1)的介绍。1.MOC扩展与signals–slots 机制严格来说,Qt 开发,写的并不是标准 
C++。Meta-Object System 是 Qt 对 C++ 的一项重要扩展,简称 moc。...
                            
                            
                                分类:
编程语言   时间:
2014-05-09 04:31:40   
                                阅读次数:
411
                             
                         
                    
                        
                            
                            
                                如果只是简单的处理的话,只需要引用下载压缩包里的NPOI.dll (office 
2003)或NPOI.OOXML.dll(office 2007) 文件而已。 1 using System; 2 using 
System.Collections.Generic; 3 using System.Li...
                            
                            
                                分类:
其他好文   时间:
2014-05-09 04:29:08   
                                阅读次数:
324
                             
                         
                    
                        
                            
                            
                                1 public class T008 { 2 public static void 
main(String[] args) { 3 int[] num = { 3, 4, 5, 1, 2 }; 4 
System.out.println(min(num, 5...
                            
                            
                                分类:
编程语言   时间:
2014-05-09 04:12:47   
                                阅读次数:
326
                             
                         
                    
                        
                            
                            
                                属性器的使用,通用的 写东西精致 细致public System.Int16 Status { 
get; set; } public string StatusValue { get { if (Status =...
                            
                            
                                分类:
其他好文   时间:
2014-05-09 04:03:29   
                                阅读次数:
256
                             
                         
                    
                        
                            
                            
                                using System.Data;using System.Data.Sql;using 
System.Data.SqlClient; protected void Page_Load(object sender, EventArgs e) { 
SqlConn...
                            
                            
                                分类:
数据库   时间:
2014-05-09 04:01:32   
                                阅读次数:
388