- 博客(13)
- 资源 (8)
- 收藏
- 关注
转载 js获取网站跟路径
function getRootPath(){var strFullPath=window.document.location.href;var strPath=window.document.location.pathname;var pos=strFu
2007-07-31 19:36:00 1115
原创 C#操作VFP的dbf数据库文件实例
实例中分别使用Oledb和Odbc操作vfp数据库dbf文件,操作包括:读取,增删改。已测试可直接使用,使用方法:下面代码分两个部分aspx和cs,在vs2005中新建网站项目,分别copy文件到想要的文件中即可。aspx页面:http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1
2007-07-31 11:30:00 6296 1
原创 java中Url中文参数转码解决方案
http://xxx.do?ptname=我是中国人String strPtname = request.getParameter("ptname");strPtname = new String(strPtname.getBytes("ISO-8859-1"), "UTF-8");
2007-07-23 15:04:00 8406 2
转载 什么叫面向接口编程
什么叫面向接口编程[作者:umlchina 转贴自:www.umlchina.com ] 在一个面向对象的系统中,系统的各种功能是由许许多多的不同对象协作完成的。在这种情况下,各个对象内部是如何实现自己的对系统设计人员来讲就不那么重要了;而各个对象之间的协作关系则成为系统设计的关
2007-07-19 08:32:00 780
原创 接口、类详解
接口、类详解Interfaces(接口)Definition(定义):In the Java programming language, an interface is not a class but a set of requirements for classes that want to conform to the interface, and provide a templa
2007-07-19 08:30:00 949
原创 Java,.NET中当前时间获取、格式化方法比较
1,获取当前时间Java Date curTime = new Date(System.currentTimeMillis()); System.out.println(curTime.toString()); System.out.println(curTime.toGMTString()); System.out.println(curTime.toLocaleString()
2007-07-18 09:26:00 1343
转载 启动Visual Studio 2005调试器时出现错误: 绑定句柄无效
Q:按F5启动调试时, 出现如下错误: "Error while trying to run project: Unable to start debugging. 绑定句柄无效" 。 A:解决方法如下: 1. 将工程属性->Debug->Enable the Visual Studio hosting process前的选中标志去掉. 2. 启动Terminal Services服务.
2007-07-17 10:57:00 765
转载 固定WEB Table表头表列的一种简易方法
事例:http://www.try.net.cn/Blog/Show.asp?BlogID=256 最近在做公司人事报表中,同事要求将表的表头及左侧部分固定,然后可以通过拉动MOUSER看表中其他内容。网上查询了一下相关资料,^_^,做一个最简单的解决方案如下: 在表头中加入相关的样式: .TABLE { BORDER-RIGHT: 1px;
2007-07-17 10:27:00 3697 3
原创 Java 中时间转换
Since java.sql.Timestamp is inherite from java.util.Date, so simply doing this will do:SimpleDateFormat ft = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"); java.sql.Timestamp ts = new java.sql.Timest
2007-07-17 08:41:00 642
原创 Sql Server基本函数
1.字符串函数 长度与分析用 datalength(Char_expr) 返回字符串包含字符数,但不包含后面的空格 例:--重复字符串01五次select replicate(01,5)substring(expression,start,length) 不多说了,取子串 right(char_expr,int_expr) 返回字符串右边int_expr个字符 字符操作类
2007-07-11 15:23:00 460
原创 Xufl_Java_Code_Formatter.xml
Java编码规范:1,规范内容:如下xml文件;2,导入MyEclipse方法:a : 拷贝下面xml内容到xml文件;b : Eclipse->Preferences->Java->Code Style->Formatter->Imprt.....。哈哈成功!
2007-07-11 11:30:00 3849 1
转载 浅析Java遍历器(Iterator)的实现
遍历器用于遍历Collection, Map没有提供public的遍历器,但是其内部定义了几个private遍历器自用。简单地说,每个AbstratCollection的子类都有一个iterator()方法,这个方法将返回一个对应容器的遍历器。而AbstractList的子类自有一个listIterator()方法(ArrayList等具体类也提供iterator()方法,从源码中可以知道li
2007-07-11 08:34:00 4157
原创 html中select结合js的使用简介
//作用:1.提供select的拷贝;2.选择select1时动态选择添加select2中的值(值来源于:selectTotal).//addedby: xufl//addeddate:20070706/*清空select所有option项*/function clear(){ var obj = document.getElementById(select2); var length = o
2007-07-06 09:26:00 3206
电子招投标企业信息备案数据设计(powerdesigner版本)
2019-02-10
Coding Help Database(sql2005)
2008-10-28
高级(Regex)文本文件处理程序
2008-09-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人