添加引用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
创建java工程SamplePlugin:package
com.hoo.server.plugin;import java.io.File;import
org.jivesoftware.openfire.XMPPServer;import org.jivesoftware.openfire.co...
分类:
其他好文 时间:
2014-07-22 23:17:14
阅读次数:
478
1.文件的基本操作1.1文件的打开或创建文件的打开或创建可以使用内置函数file(别名open)。函数声明如下:file(name[,mode[,buffering]])->fileobject或open(name[,mode[,buffering]])->fileobject其中,name表示被打...
分类:
编程语言 时间:
2014-04-30 19:48:22
阅读次数:
517
在做项目时遇到了这个异常,网上一查才知道 JSTL core库的版本问题。
当我们在web.xml中使用: ..... 时 我们在jsp才用方式引入。 而当我们的web.xml是 或 则需要: 在jsp中用方式引入。
若若版本不对应在运行时可能...
分类:
其他好文 时间:
2014-04-30 19:40:13
阅读次数:
443
1. 存入图片 Connection con=db.conn; PreparedStatement
pstmt; //File file = upload; FileInputStream inputImage = new FileInputS...
分类:
编程语言 时间:
2014-04-30 17:27:01
阅读次数:
476
平时做算法题目, 没少用到 GDB, 但今天才意识到 Project 的调试方法与单个 cpp
文件的不同之处, 比如 gdb list 命令, 在单个 cpp 文件中列出的是源代码, 但在 project 中却什么都不显示Project Debug 时,
file 参数的使用[1] 有讲解, UP...
分类:
数据库 时间:
2014-04-30 17:23:01
阅读次数:
527
scott用户成功连接数据库的具体方法: 1.grant connect, resource to
scott;2.grant create session to scott; 3.cmd4.sqlplus
scott/tigerOracle的安全1.用户管理用户至少需要会话的权利,否则连接也不成....
分类:
数据库 时间:
2014-04-30 16:49:05
阅读次数:
1754
procedure TDataEditDrFrm.btn8Click(Sender:
TObject);varexcelx,excely:string;ExcelApp:Variant;workBook:OleVariant;excelRowCount,excelColumnCount:longin...
分类:
其他好文 时间:
2014-04-30 15:17:44
阅读次数:
427
1. 存储过程 CREATE PROCEDURE
[dbo].[bbs_move_createtopic]@fid smallint,@iconid smallint,@curtid INT
OUTPUTASBEGIN INSERT INTO [topics] ...... SET @topicid...
分类:
数据库 时间:
2014-04-29 16:48:46
阅读次数:
476
经典SQL语句大全一、基础1、说明:创建数据库CREATE DATABASE
database-name2、说明:删除数据库drop database dbnamedrop database dbnamedrop database
dbname3、说明:备份sql server---创建 备份数据的...
分类:
数据库 时间:
2014-04-29 16:26:47
阅读次数:
638