- 博客(11)
- 资源 (1)
- 收藏
- 关注
转载 栗子:控制反转(依赖注入)IOC
using System;using System.Collections.Generic;using System.Linq;using System.IO;using Autofac;namespace Remember{ interface IMemoDueNotifier { void MemoIsDue(Memo memo); }
2013-08-23 12:55:25
593
转载 Pl/sql 存储过程
--建立测试数据:create table BOOK(编号 number(10),书名 varchar2(20),价格 varchar2(20))insert into BOOK values(100,'aa','88.77')select * from BOOK--建立存储过程:create or replace procedure query_BOOK(name IN OUT
2013-08-19 15:19:58
650
转载 ORACLE 创建视图时,提示用户权限不足
ORACLE 创建视图时,提示用户权限不足问题:使用scott登录Oracle以后,创建视图,提示“权限不够”,怎么解决?回答:这是因为scott这个帐户目前没有创建视图的权限。解决方法为:首先使用system帐户进行登录,其中“tigertiger”为安装Oracle时所指定的密码(可修改):sqlplus system/tigertiger然后执行:gr
2013-08-06 10:32:37
889
转载 注册asp.net 4.0 到iis
注册asp.net 4.0 到iis如果没有按照正常的先装iis后装.net的顺序,可以使用此命令重新注册一下运行->cmd Microsoft Windows [版本 6.1.7601]版权所有 (c) 2009 Microsoft Corporation。保留所有权利。C:\Users\Administrator>cd C:\Windo
2013-08-05 18:12:20
970
原创 Oracle解锁
select t2.username ,t2.sid,t2.serial#,t2.LOGON_TIME from v$locked_object t1,v$session t2where t1.SESSION_ID =t2.SID order by t2.LOGON_TIME; alter system kill session 'sid,serial#';
2013-07-24 14:54:02
408
转载 创建表空间
/*分为四步 *//*第1步:创建临时表空间 */create temporary tablespace user_temp tempfile 'D:\oracle\oradata\Oracle9i\user_temp.dbf' size 50m autoextend on next 50m maxsize 20480m extent management local;
2013-07-18 17:54:56
389
原创 查找表的列数
select count(1) from user_col_commentswhere table_name = upper('table_name');括号里的table_name为所要查询的表名
2013-07-16 17:24:25
552
翻译 XmlnsDefinitionAttribute
使用这个属性让代码更酷一点(一) x:Class="Test" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:h="clr-nam
2013-07-04 14:55:13
1215
转载 PL/SQL 乱码显示问号
这个可能是oracle客户端和服务器端的编码方式不一样。select * from v$nls_parameters t where t.PARAMETER ='NLS_LANGUAGE' or t.PARAMETER ='NLS_CHARACTERSET';--数据库服务器字符集select * from nls_database_parameters;--客户端字符集--表
2013-06-27 15:56:01
635
转载 微软自带项目安装及部署
①1,解决方案—添加—新建项目—其他项目类型—安装和部署—安装项目,输入名称Setup,点“确定” 2,添加主输出:单击左侧“应用程序文件夹”,右侧右键—添加—项目输出-主输出-确定。 3,添加开始程序中的文件夹:右击左侧“用户的程序菜单”—添加—文件夹,自己设置名称。 4,添加开始程序中和桌面的主程序快捷方式:左侧单击刚新建的文件夹--右侧
2013-06-25 17:30:24
805
转载 Silverlight数字签名
1.什么情况下需要签名 silverlight OOB模式以最高权限运行时,有安全限制。如需要让本机安装的程序自动升级,则需xap包已经进行过数字签名。否则只能让用户手动删除再重新安装的方式进行升级。 2.如何签名 对xap包签名需要pfx数字证书文件。 3.如何制作pfx证书文件 打卡Visual Studio Tools里面的Visual Studio Command Pr
2013-06-24 13:41:07
898
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人