摘要: #region 得到一周的周一和周日的日期 /// /// 计算本周的周一日期 /// /// public static DateTime GetMondayDate() { r... 阅读全文
posted @ 2015-01-16 17:12 Ubuntuser 阅读(4762) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace Singleton{ //饿汉模式:类加载的时候就会... 阅读全文
posted @ 2014-12-27 15:02 Ubuntuser 阅读(150) 评论(0) 推荐(0)
摘要: MySQL5.5以后默认使用InnoDB存储引擎,其中InnoDB和BDB提供事务安全表,其它存储引擎都是非事务安全表。若要修改默认引擎,可以修改配置文件中的default-storage-engine。可以通过:show variables like 'default_storage_engine... 阅读全文
posted @ 2014-12-13 16:56 Ubuntuser 阅读(244) 评论(0) 推荐(0)
摘要: 修改口令:1,sqlplus /nolog;//登录数据库。2,conn /as sysdba;//连接数据库。3,select username,password from dba_users;//查看用户名,口令4,alter user sys identified by adminsys;//... 阅读全文
posted @ 2014-12-04 08:50 Ubuntuser 阅读(384) 评论(0) 推荐(0)
摘要: 登陆oracle的三种方法1、在DOS窗口中,输入sqlplus,回车后,输入用户名scott,密码:tiger2、在浏览器中输入http://127.0.0.1:端口号/isqlplus,之后输入用户名和密码3、在“应用程序开发”中选择SQL Plus,输入用户名和密码使用超级管理员登陆dos中,... 阅读全文
posted @ 2014-12-03 17:28 Ubuntuser 阅读(455) 评论(0) 推荐(0)
摘要: 1.对象序列化的介绍....................................................................2(1) .NET支持对象序列化的几种方式.................................2(2)几种序列化的区别......... 阅读全文
posted @ 2014-12-03 15:41 Ubuntuser 阅读(174) 评论(0) 推荐(0)