VBA 插入一行保留样式VBA 打开一个string指定的文件VBA 按照文件类型名称打开一个文件VBA excel中表示列的字母换成数字
分类:
编程语言 时间:
2014-12-16 11:29:32
阅读次数:
167
///C#字符串是使用string关键字声明的一个字符数组,它也是一个对象,封装了所有字符串操作,如比较、插入、删除、查找等。using System;using System.Collections.Generic;using System.Linq;using System.Text;names...
public bool ExportExcel(DataTable tb, string path, string tbName) { //excel 2003格式 string connString = "Provider=...
1.由日期时间转化成字符串Date date = new Date();Format formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");String dateString=formatter.format(date);上述代码使用的是Si...
分类:
其他好文 时间:
2014-12-16 07:38:50
阅读次数:
146
Spring容器是怎样管理bean的呢?我们模拟Spring容器的内部实现:(1) 读取Spring中的Bean配置文件 //读取bean配置文件 public void readXml(String beanDir){ Document document = null; try{ SAXR...
分类:
编程语言 时间:
2014-12-16 06:24:36
阅读次数:
196
1 package com.java7; 2 3 class AssignARef { 4 public static void main(String[] args) { 5 int i; 6 7 int nums1[] = new i...
分类:
编程语言 时间:
2014-12-16 00:54:44
阅读次数:
225
一. Partitioner是partitioner的基类,如果需要定制partitioner也需要继承该类。
public class DataCount {
public static void main(String[] args) throws Exception {
Configuration conf = new Configuration();
Job job =...
分类:
其他好文 时间:
2014-12-15 23:43:24
阅读次数:
447
文件复制public static void main(String[] args)throws IOException{ String str=new String(); try{ BufferedReader in=new BufferedReader(new File...
分类:
其他好文 时间:
2014-12-15 23:24:05
阅读次数:
218
package copyfile;import java.io.*;public class copy { public static void main(String[] args) throws IOException { copyFile("d:/new/a.txt","d:/new/b......
分类:
编程语言 时间:
2014-12-15 23:20:14
阅读次数:
392
package copyfile;import java.io.*;public class copy { public static void main(String[] args) throws IOException { copyFile("d:/new/a.txt","d:/new/b......
分类:
编程语言 时间:
2014-12-15 23:19:19
阅读次数:
305