2017年10月18日

VS2013编译sqlicipher的.net版本

摘要: 由于项目需要,需要编译SQLCipher的.net以asp.net 项目调用1.vs2013的开发环境包括vc++和c#2.安装 Activestate Perl, 下载地址http://www.activestate.com/activeperl3.下载并编译openssl,我用的版本是opens 阅读全文

posted @ 2017-10-18 14:21 fendoudexiaoniao 阅读(778) 评论(0) 推荐(0)

2017年2月28日

oracle 通过obdc sqlserver

摘要: ms server 2003 Oracle 10.2.0.1.0连接ms sql server 2005 1、控制面板--管理工具--obbc数据源管理器 系统DSN 中增加名称为 sjck 的DSN,并测试成功。 2、复制F:\oracle\product\10.2.0\db_1\hs\admin 阅读全文

posted @ 2017-02-28 09:40 fendoudexiaoniao 阅读(329) 评论(0) 推荐(0)

2017年2月8日

oracle10g group by 后不排序

摘要: oracle10g默认的group by 采用hash排序,使用以下语句修改为10G以前的方式 alter system set "_gby_hash_aggregation_enabled"=false; 阅读全文

posted @ 2017-02-08 09:46 fendoudexiaoniao 阅读(606) 评论(0) 推荐(0)

2016年9月22日

二叉树的遍历包含递归和非递归实现

摘要: public class TreeNode<T> where T : new() { public T Data { get; set; } public TreeNode<T> LChild { get; set; } public TreeNode<T> RChild { get; set; } 阅读全文

posted @ 2016-09-22 17:31 fendoudexiaoniao 阅读(237) 评论(0) 推荐(0)

2016年8月28日

链表

摘要: #include <iostream>using namespace std;struct MyList{ int data; MyList*next;};void Init(MyList&head){ head.data=0; head.next=NULL;}void ListInsert(MyL 阅读全文

posted @ 2016-08-28 22:51 fendoudexiaoniao 阅读(137) 评论(0) 推荐(0)

2016年7月22日

npoi 添加 xls页眉页脚重复标题页码

摘要: npoi 添加 xls页眉页脚重复标题页码 private static void TestHyf() { IWorkbook book = new HSSFWorkbook(); ISheet sheet = book.CreateSheet("test"); ICellStyle cellSty 阅读全文

posted @ 2016-07-22 10:59 fendoudexiaoniao 阅读(729) 评论(0) 推荐(0)

2016年7月20日

sqlserver中查找长时间未提交事务

摘要: 1.查找未提交事务 select session_id,transaction_id,is_user_transaction,is_local from sys.dm_tran_session_transactions where is_user_transaction=1 2.根据返回的ID查询详 阅读全文

posted @ 2016-07-20 09:12 fendoudexiaoniao 阅读(1027) 评论(0) 推荐(0)

2016年6月10日

vc2010 AfxGetMainWnd()->m_hWnd为空

摘要: vc6以后AfxGetMainWnd()->m_hWnd需要换为AfxGetApp()->m_pMainWnd->m_hWnd 阅读全文

posted @ 2016-06-10 21:46 fendoudexiaoniao 阅读(384) 评论(0) 推荐(0)

2016年1月19日

设计模式的6大原则

摘要: 一、单一职责原则不要存在多于一个导致类变更的原因。简单的说就是一个类只负责一项职责。问题由来:类T负责两个不同的职责:职责P1,职责P2。当由于职责P1需求发生改变而需要修改类T时,有可能会导致原本运行正常的职责P2功能发生故障。注意事项:不能生搬规则,有的时候只要满足能惟一区分一项职责即可。二、里... 阅读全文

posted @ 2016-01-19 13:18 fendoudexiaoniao 阅读(164) 评论(0) 推荐(0)

2015年12月18日

http post调用 wcf (转)

摘要: using System;using System.CodeDom;using System.CodeDom.Compiler;using System.Collections.Generic;using System.IO;using System.Linq;using System.Net;us... 阅读全文

posted @ 2015-12-18 00:17 fendoudexiaoniao 阅读(341) 评论(0) 推荐(0)

导航