做.net也半年了,一直用的动软生成器的框架,对于数据库连接什么的根本没关心过,前几天同学做毕业设计要我写个数据库连接,才发现原来我连最基本的都不会,痛定思痛找了相关资料,写了一个数据库连接类。 写完之后发现很简单,给和我一样的.net新手做个借鉴吧 using System;using Syst....
分类:
数据库 时间:
2014-06-27 00:13:30
阅读次数:
486
一、写xml 文件#include #include "rapidxml/rapidxml.hpp"#include "rapidxml/rapidxml_utils.hpp"#include "rapidxml/rapidxml_print.hpp"using namespace rapidxml...
public T Clone(T RealObject){ using (System.IO.Stream objectStream = new System.IO.MemoryStream()) { System.Runtime.Serialization.IFormatter formatter...
分类:
其他好文 时间:
2014-06-26 23:06:46
阅读次数:
218
PrintDataGridView.csusing System;using System.Collections.Generic;using System.Text;using System.Drawing;using System.Data;using System.Data.SqlClient...
参考资料https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc/src/fecd39ccdf56?at=defaulthttp://ilikekillnerds.com/2010/11/using-smarty-3-...
分类:
Web程序 时间:
2014-06-26 22:37:28
阅读次数:
277
/**文件操作类 **/ #region 引用命名空间 using System; using System.Collections.Generic; using System.Text; using System.IO; #endregionnamespace CommonUtilities { ...
分类:
Web程序 时间:
2014-06-26 22:36:03
阅读次数:
216
对于普通类型的对象来说,它们之间的复制是很简单的,例如:int a=100;int b=a;而类对象与普通对象不同,类对象内部结构一般较为复杂,存在各种成员变量。下面看一个类对象拷贝的简单例子。#include using namespace std;class CExample {private:...
分类:
编程语言 时间:
2014-06-26 22:30:39
阅读次数:
306
转载地址:http://blog.csdn.net/donglynn/article/details/17056099错误SQL 查询:DELETE FROM `zmax_lang` WHERE CONVERT( `zmax_lang`.`lang` USING utf8 ) = 'fr' ...
分类:
其他好文 时间:
2014-06-26 21:31:40
阅读次数:
204
链接顺便整理出来一份自己看着比较顺眼的模板 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 using namespace ...
分类:
其他好文 时间:
2014-06-26 21:05:19
阅读次数:
252
he following commands will helpful to delete the expired archive log files using Oracle Recovery Manager(RMAN).Connect to the Rman prompt and try the ...
分类:
其他好文 时间:
2014-06-26 20:20:52
阅读次数:
262