导航

2010年12月13日

摘要: Vista SP1 + Visual Studio 2008 Team Suite症状是用Control Panel的uninstall/repair,或者源安装盘,都在load某个component时挂掉,不能进入正常安装界面,然后弹出对话框,提示“A Problem has been encountered while loading the setup components. Canceling setup.”而Log中显示错误MSITOSIT: [2] ERROR processed; exception was thrown for retail buildDeveloper Com 阅读全文

posted @ 2010-12-13 20:25 Niko 阅读(179) 评论(0) 推荐(0)

2010年11月3日

摘要: 客户端打印页面内容的2种方法,方法一:用js 来实现代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<htmlxmlns="http://www.w3.org/1999/xhtml"><headrunat="server">... 阅读全文

posted @ 2010-11-03 17:43 Niko 阅读(533) 评论(0) 推荐(1)

2009年9月30日

摘要: //定义与方法同签名的委托 private delegate void DelegateRunSolver();public void StartMethod(){//实例化委托并初赋值,runSolver异步调用的方法DelegateRunSolver dn = new DelegateRunSolver(runSolver);//实例化回调方法 AsyncCallback acb = new ... 阅读全文

posted @ 2009-09-30 09:09 Niko 阅读(439) 评论(0) 推荐(0)

2009年9月1日

摘要: --1.创建数据库USE[master]IF EXISTS(SELECT * FROM [master].[dbo].sysdatabases where name = N'TEST')DROP DATABASE [TEST]CREATE DATABASE [TEST]--2. 创建分组文件(由于表分区使用使用新的体系结构,使用文件组来进行表分区)ALTER DATABASE [TEST] ADD... 阅读全文

posted @ 2009-09-01 17:28 Niko 阅读(232) 评论(0) 推荐(0)

摘要: 将下面的方法注册到你的页面function WebForm_FireDefaultButton(event, target) {var element = event.target || event.srcElement;if (!__defaultFired && event.keyCode == 13 && !(element && (eleme... 阅读全文

posted @ 2009-09-01 16:52 Niko 阅读(181) 评论(0) 推荐(0)

2009年3月17日

摘要: 1、安装Rational Rose2003时,在需选择安装项的时候,只选择Rational Rose EnterPrise Edition即可,不需选择其他项。2、安装好Rational Rose Enterprise Editon后,打开rose2003crack.rar压缩包,里面有四个文件,分别为flexlm.cpl、license.dat、lmgrd.exe、rational.exe。3、... 阅读全文

posted @ 2009-03-17 10:48 Niko 阅读(1869) 评论(0) 推荐(0)

2008年11月11日

摘要: <script language="javascript"> function postBackByObject() { debugger; var element = window.event.srcElement; if (element.tagName == "INPUT" && element.type == "checkbox") { var check... 阅读全文

posted @ 2008-11-11 16:49 Niko 阅读(376) 评论(0) 推荐(0)

2008年11月10日

摘要: 前台:<script language="javascript"> function postBackByObject() { var element = window.event.srcElement; if (element.tagName == "INPUT" && element.type == "checkbox") { var checkedSt... 阅读全文

posted @ 2008-11-10 14:39 Niko 阅读(338) 评论(0) 推荐(0)

2008年11月5日

摘要: afterI restore a database, I can't create the diagram.error message:Database diagram support objects cannot be installed because this database does not have a valid owner. To continue, first use the F... 阅读全文

posted @ 2008-11-05 10:02 Niko 阅读(206) 评论(0) 推荐(0)

摘要: 今天有用到动态生成控件: protected void Page_PreRender(object sender, EventArgs e) { BoundControl(); }{ List<OfferQuestion> offerQuestion = new List<OfferQuestion>(); if (Request.QueryString["OfferId"... 阅读全文

posted @ 2008-11-05 09:59 Niko 阅读(661) 评论(0) 推荐(0)