添加引用http://htmlagilitypack.codeplex.com/downloads/get/437941protected
void Export(string content,string file) { HtmlDocument doc = new HtmlD...
分类:
Web程序 时间:
2014-07-22 23:17:32
阅读次数:
426
procedure TDataEditDrFrm.btn8Click(Sender:
TObject);varexcelx,excely:string;ExcelApp:Variant;workBook:OleVariant;excelRowCount,excelColumnCount:longin...
分类:
其他好文 时间:
2014-04-30 15:17:44
阅读次数:
427
//控件名:myNewClock//作者:刘典武//时间:2011-06-10using
System;using System.Collections.Generic;using System.ComponentModel;using
System.Drawing;using System.Dat...
分类:
其他好文 时间:
2014-04-29 17:21:46
阅读次数:
538
[DataMapping("Status", DbType.Int16)] public
System.Int16 Status { get; set; } public string StatusValue { get { if (Status
== 0) { return "审核拒绝"; } e...
分类:
数据库 时间:
2014-04-29 16:45:46
阅读次数:
344
1.sqlplus /nolog2.connect sys/orcl@ORCL as
sysdba3.select sysdate from dualexit;
分类:
数据库 时间:
2014-04-29 16:42:47
阅读次数:
480
数据库中两个字段相减(某列有空值)处理方法:sql server中:select
(isnull(字段1,0)-isnull(字段2,0)) as 结果 from 表oracle中:select (nvl(字段1,0)-nvl(字段2,0))
as 结果 from 表mysql中:select (i...
分类:
数据库 时间:
2014-04-29 16:42:46
阅读次数:
925
今天花了点时间看了下CI框架源码缓存的实现,写出来梳理下思路.1:在CI框架中加载视图文件使用的是$this->load->view();方法,所以从load类库着手,在ci的system文件夹中可以看到Loader.php,这个类库是在Controller.php中被加载的。Loader类中有个方...
分类:
其他好文 时间:
2014-04-29 16:36:46
阅读次数:
604
原文: 通过.NET实现后台自动发送Email功能的代码示例
通过.NET实现后台自动发送邮件功能的代码,可以将一些基础信息放到web.config文件中进行保存:Web.config文件信息段: 后台实现:using
System.Net.Mail;using System.Configurati...
分类:
Web程序 时间:
2014-04-29 16:33:46
阅读次数:
455
recovery模式是手机系统的一个工程模式,用户通过同时按住开机键加home键,直到手机界面出现一个三角框里面一个感叹号即是进入了传说中的recovery模式,在这个模式中用户可以看到以下的内容(不同的手机显示的内容不同):
reboot system now: 重启系统 apply sdca.....
分类:
移动开发 时间:
2014-04-29 16:31:46
阅读次数:
508
一:新建类HotKeys命名空间:using
System.Runtime.InteropServices;二:注册热键API[DllImport("user32")]public static
extern bool RegisterHotKey(IntPtr hWnd, Int32 id, UI...
分类:
其他好文 时间:
2014-04-29 16:25:46
阅读次数:
330