1 public DataTable ConvertToDataTable(IList 
data) 2 { 3 PropertyDescriptorCollection properties = 4 
TypeDescriptor.GetProperti...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:17:12   
                                阅读次数:
463
                             
                    
                        
                            
                            
                                1、重载构造函数和减法运算__init__,__sub__	#file 
number.py	class Number: def __init__(self,data): self.data = data def 
__sub__(self,other): return Number(se...
                            
                            
                                分类:
编程语言   时间:
2014-07-22 23:15:36   
                                阅读次数:
510
                             
                    
                        
                            
                            
                                最新项目稍有空隙,开始研究SQL Server 
2012和2014的一些BI特性,参照(Matt)的一个示例,我们开始体验SSIS中的CDC(Change Data 
Capture,变更数据捕获)。注:如果需要了解关于SQL Server 2008中的CDC,请看这里http://www.cnblo...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:13:55   
                                阅读次数:
676
                             
                    
                        
                            
                            
                                安装MongoDB 将解压所得的bin文件夹内文件部署于C:\mongodb\bin 建立数据库文件夹 
C:\mongodb\data\db 准备以下内容的配置文件mongodb.cfg dbpath=C:\mongodb\data\db 
#数据库路径logpath=C:\mongodb\data\...
                            
                            
                                分类:
数据库   时间:
2014-07-22 23:08:34   
                                阅读次数:
338
                             
                    
                        
                            
                            
                                class Work { [DllImport("user32.dll")] static 
extern void mouse_event(MouseEventFlag flags, int dx, int dy, uint data, UIntPtr 
extr...
                            
                            
                                分类:
其他好文   时间:
2014-07-22 23:06:55   
                                阅读次数:
347
                             
                    
                        
                            
                            
                                $.ajax({type:"get", url:"http://", 
data:"name="+userid+"&password="+password,async:true, 
error:function(request){alert("Connectionerror"); }, success:...
                            
                            
                                分类:
Web程序   时间:
2014-07-22 23:06:54   
                                阅读次数:
373
                             
                    
                        
                            
                            
                                一.界面设计 二.具体代码 using System; using 
System.Collections.Generic; using System.ComponentModel; using 
System.Configuration; using System.Data; using System...
                            
                            
                                分类:
其他好文   时间:
2014-05-01 15:26:48   
                                阅读次数:
345
                             
                    
                        
                            
                            
                                在vs里新建一个winform程序"ReportViewTest",在form1中添加一个reportView控件,from1的load事件如下: 
private void Form1_Load(object sender, EventArgs e) { Data...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 17:16:47   
                                阅读次数:
409
                             
                    
                        
                            
                            
                                函数:lr_output_message(lr_eval_string("")); 
sockets里面的参数是 
http里面是{}关于Winsocket协议手动关联,用socketTool录制脚本,发送TCP请求A,请求B,请求A的返回值在请求B中将会用到。最终脚本如下:data.wsdata.ws...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 16:44:46   
                                阅读次数:
380
                             
                    
                        
                            
                            
                                前段时间客户数据服务器断电,开机后发现数据库状态标记为可疑,可能是断电引起的数据库日志文件损坏,修复方法如下:只有mdf文件,重建日志: 1 
--注:example为测试用数据库,相应的Example_log.ldf为测试用的日志文件 2 use master 3 go 4 alter 
data.....
                            
                            
                                分类:
数据库   时间:
2014-04-29 16:41:46   
                                阅读次数:
452