上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 26 下一页
摘要: var myDate = new Date();myDate.getYear(); //获取当前年份(2位)myDate.getFullYear(); //获取完整的年份(4位,1970-????)myDate.getMonth(); //获取当前月份(0-11,0代表1月)myDate.getDate(); //获取当前日(1-31)myDate.getDay(); //获取当前星期X(0-6,0代表星期天)myDate.getTime(); //获取当前时间(从1970.1.1开始的毫秒数)myDate.getHours(); //获取当前小时数(0-23)myDate.getMinute 阅读全文
posted @ 2010-08-21 16:23 deepwishly 阅读(108) 评论(0) 推荐(0)
摘要: 数据类型参数描述char(n)n=1 to 2000字节定长字符串,n字节长,如果不指定长度,缺省为1个字节长(一个汉字为2字节)varchar2(n)n=1 to 4000字节可变长的字符串,具体定义时指明最大长度n,这种数据类型可以放数字、字母以及ASCII码字符集(或者EBCDIC等数据库系统接受的字符集标准)中的所有符号。如果数据长度没有达到最大值n,Oracle 8i会根据数据大小自动调节字段长度,如果你的数据前后有空格,Oracle 8i会自动将其删去。VARCHAR2是最常用的数据类型。可做索引的最大长度3209。number(m,n)m=1 to 38n=-84 to 127可 阅读全文
posted @ 2010-08-21 10:22 deepwishly 阅读(195) 评论(0) 推荐(0)
摘要: 注:usingSystem.Data.OracleClient; 需要在项目右键点击,选择 '添加引用' ,在 .NET 中选择该项..usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Linq;usingSystem.Text;usingSystem.Windows.Forms;usingSystem.Data.OracleClient;namespaceAppneu{publicpart 阅读全文
posted @ 2010-08-20 20:57 deepwishly 阅读(196) 评论(0) 推荐(0)
摘要: 启动监听:lsnrctl start查看监听:lsnrctl status停止监听:lsnrctl stop1、oracle 数据服务器包括:实例进程和数据库; 实例进程包括:memory structure(sga)以及background process(pmon(进程监控)、smon(系统监控system monitor,空间整理3秒)、dbwr(脏数据处理)、lgwr(将redo buffer文件写会log),ckpt(checkpoint,同步数据,先写日志、脏数据)等进程); 数据库包括:数据文件、控制文件,redo log 文件,三者是必须的,至于 参数文件、密码文件、归档文件是 阅读全文
posted @ 2010-08-20 20:45 deepwishly 阅读(154) 评论(0) 推荐(0)
摘要: .net1.1中如果需要灵活的操作和读写配置文件并不是十分方便,一般都会在项目中封装一个配置文件管理类来进行读写操作。而在.net2.0中使用configurationmanager 和webconfigurationmanager 类可以很好的管理配置文件,configurationmanager类在system.configuration中,webconfigurationmanager在system.web.configuration中。根据msdn的解释,对于 web 应用程序配置,建议使用 system.web.configuration.webconfigurationmanage 阅读全文
posted @ 2010-08-19 09:05 deepwishly 阅读(163) 评论(0) 推荐(0)
摘要: C#中获取程序当前路径的集中方法System.Diagnostics命名空间string str1 =Process.GetCurrentProcess().MainModule.FileName;//可获得当前执行的exe的文件名。System 命名空间string str2=Environment.CurrentDirectory;//获取和设置当前目录(即该进程从中启动的目录)的完全限定路径。System.IO命名空间string str3=Directory.GetCurrentDirectory();//获取应用程序的当前工作目录。string str4=AppDomain.Curr 阅读全文
posted @ 2010-08-18 12:59 deepwishly 阅读(133) 评论(0) 推荐(0)
摘要: http://biz.chinabyte.com/97/2333597.shtml 阅读全文
posted @ 2010-08-17 17:13 deepwishly 阅读(99) 评论(0) 推荐(0)
摘要: <>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.h 阅读全文
posted @ 2010-08-06 09:09 deepwishly 阅读(120) 评论(0) 推荐(0)
摘要: 卡名发卡行跨行ATM取款牡丹灵通卡中国工商银行本地ATM跨行取款每笔2元;异地本行ATM跨行取款每笔取款金额的1%,最低1元,最高50元;异地跨行ATM取款每笔手续费为2元+取款金额的1%,1%部分最低1元,最高50元;金穗借记卡中国农业银行本地ATM跨行取款每笔2元;异地本行ATM跨行取款每笔取款金额的1%,最低1元;异地跨行ATM取款每笔手续费为2元+取款金额的1%;长城电子借记卡中国银行本地ATM跨行取款每笔2元;异地本行ATM跨行取款每笔10元;异地跨行ATM取款每笔手续费为12元;龙卡储蓄卡中国建设银行本地ATM跨行取款每笔2元;异地本行ATM跨行取款每笔取款金额的1%,最低2元;异 阅读全文
posted @ 2010-07-27 20:08 deepwishly 阅读(311) 评论(0) 推荐(0)
摘要: 就包含在光盘里面,是ProductDocumentation文件夹,原来叫msdnlibrary,现在叫helplibrary,基于web的,helplibrary无法独立安装,必须要先安装vs2010,安装好后打开,所有程序->vs2010->vs2010tools->manage help setting,选择install content from disk,然后选择光盘里面的ProductDocumentation文件夹下的HelpContentSetup.msha,接下来看提示你就知道了,人个感觉相对msdnlibrary这是一个退步,关键是少了索引,使用起来及不方 阅读全文
posted @ 2010-07-26 21:50 deepwishly 阅读(375) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 26 下一页