`
文章列表
实例: 第一步导入包: commons-fileupload-1.2.1.jar commons-io-1.3.2.jar commons-logging-1.0.4.jar freemarker-2.3.15.jar ognl-2.7.3.jar xwork-core-2.1.6.jar struts.jar commons-beanutils-1.7.0.jar commons-digester.jar 第二上传upload,jsp、下载download.jsp的jsp页面 <%@ page language="java" contentType="te ...
1--dll 文件 放在tomcat/bin 下面      2--dll 文件 放在c:/windows/system32 下面       3--dll,jar 文件 放在 WEB-INF/lib 下面
create database link bendilink6 connect to "tablename" identified by "tablepassword" using '远程数据库配置名' ; create database link 远程数据库连接名 connect to "数据库名" identified by "数据库密码" using '远程数据库配置名' ; insert into 表名(字段名) (SELECT 字段名 FROM TableName@bendilink6); 数据库名 ...
CREATE OR REPLACE TYPE spell_code AS OBJECT (   spell varchar2(10),   code Varchar2(10) ); create or replace type t_spellcode is table of spell_code; --返回拼音与代码的对应关系 create or replace function f_getSpellcode return t_spellcode Pipelined is Begin   PIPE Row(spell_code('a', -20319));   PIPE Row(spell ...
public boolean xx(String xx) { Connection conn = null; Statement stmt = null; CallableStatement   proc   =   null; List sqlList = new ArrayList(); try { Session session = HibernateSessionFactory.getSession(); conn = session.connection(); proc = conn.prepareCall("{ cal ...

ntko打印公章

    博客分类:
  • java
//TANGER_OCX_OBJ.ActiveDocument.Application.Selection.GoTo(-1,0,0,'fengcheng'); //定位光标 //AddSignFromURL('sign/fengcheng.esp'); function AddSignFromURL(URL) {     TANGER_OCX_OBJ.AddSignFromURL( "匿名用户",//当前登陆用户 URL,//URL 0,//left 左边距 -60,//上边距 根据Relative的设定选择不同参照对象 "123456", ...
import java.text.DecimalFormat;  import java.text.NumberFormat;  import java.text.SimpleDateFormat;  import java.util.Calendar;  public class faa {      public static final void main(String[] args){          String id="juny";          String num="999";          System.out ...
     //从数据库获取要绑定到下拉框的数据           DataTable dt =dsTables[0];           if (dtList.Rows.Count == 0)           {               this.ComboBox.Items.Add(new System.Collections.DictionaryEntry("--无数据--", 0));               //new System.Collections.DictionaryEntry("--无数据--", 0) -------- ...
  在操作之前首先打开SQL Server 2000企业管理器,并在其中建立数据库,这里假设为ss。     ①打开SQL Server 2000查询分析器工具,选择数据库ss     ②单击查询分析器中的“文件”菜单,选择“打开”,找到.sql文件所在位置     ③点击“运行”按钮即可
打开企业管理器---新建一个数据库---右击选择还原数据库----选择从设备(选择添加,选择.bak文件)----确定---从选项中选择在现有数据库上强制还原----确定 数据库中对数据的操作是一大重要技能,其中,数据的恢复和还原也是常做的事。不知你是否在数据库恢复时遇到诸如“设备激活错误,请使用with move选项来标志该文件的有效位置”的错误信息提示?不知你在还遇到这样的情况:还原数据库时, 发现在企业管理器中,操作:所有任务——>还原数据库——>选择“从设备”还原,找到备份文档路径,强制还原。报错:设备激活错误,请使用with move选项来标志该文件的有效位置。本文将为 ...
数据库连接公共文件
工具-选项-解决方案(包括其他工具窗口)
出处:http://www.cnblogs.com/21vicky21/archive/2011/04/07/2007722.html 1.下载 IrisSkin2.dll 及其皮肤素材(相应的.ssk文件)。地址网上很多(如:http://download.csdn.net/source/1744355) 2.把IrisSkin2.dll文件添加到\bin\Debug文件夹 或者 \bin\Release文件夹 (对应)中。 3.把IrisSkin2.dll文件添加到当前项目引用 4.把IrisSkin2.dll文件添加到VS的工具箱:   右键(添加选项卡)->选择项->浏览找 ...
为DTree添加上复选框可以让树的功能更加丰富,比如在做树形结构的时候可以点击选择多个树节点进行操作等等.... 添加复选框的步骤: 1)dtree.js 在function dTree (objName) {     this.config = {         target : null,         folderLinks : true,         useSelection : true,         useCookies : true,         useLines : true,         useIcons : true,       ...
select * from table s where s.rowid in (select max(t.rowid) from table t group by t.id having count(t.id)>1)
Global site tag (gtag.js) - Google Analytics