上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 44 下一页
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System; class Test { static void Main() { /* try { ... 阅读全文
posted @ 2008-09-04 19:23 Athrun 阅读(451) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/* * Created by SharpDevelop. * User: Administrator * Date: 2008/9/4 * Time: 上午 10:40 * 泛型(gerer... 阅读全文
posted @ 2008-09-04 11:13 Athrun 阅读(375) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/* * Created by SharpDevelop. * User: Administrator * Date: 2008/9/4 * Time: 上午 12:10 * *... 阅读全文
posted @ 2008-09-04 09:53 Athrun 阅读(452) 评论(0) 推荐(0) 编辑
摘要: C# 2.0引入了很多语言扩展,最重要的就是泛型(Generics)、匿名方法(Anonymous Methods)、迭代器(Iterators)和不完全类型(Partial Types)。 ● 泛型允许类、结构、接口、委托和方法通过它们所存贮和操作的数据的类型来参数化。泛型是很有用的,因为它提供了更为强大的编译期间类型检查,需要更少的数据类型之间的显式转换,并且减少了对装箱操作的... 阅读全文
posted @ 2008-09-04 08:47 Athrun 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 在发布Visual Studio 2005和C#2.0之后,微软公司又马不停蹄的展示了人们所期望的C#的下一代版本:C# 3.0。尽管C# 3.0并没有标准化,微软还是在PDC(专业程序员会议)发布了一个预览版本,因此心急的程序员可以看到一些所期望的特性,这也是本文所讨论的主要内容: ?隐式类型本地变量 ?匿名变量 ?扩展方法 ?对象和Collection初始化符 ?Lambd... 阅读全文
posted @ 2008-09-04 08:34 Athrun 阅读(232) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> /* * Created by SharpDevelop. * User: Administrator * Date: 2008/9/3 ... 阅读全文
posted @ 2008-09-03 22:53 Athrun 阅读(534) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/* * Created by SharpDevelop. * User: Administrator * Date: 2008/9/3 * Time: 下午 04:52 * 接口的應用ICom... 阅读全文
posted @ 2008-09-03 22:13 Athrun 阅读(329) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/* * Created by SharpDevelop. * User: Administrator * Date: 2008/9/3 * Time: 下午 01:40 * 接口(interf... 阅读全文
posted @ 2008-09-03 16:50 Athrun 阅读(596) 评论(0) 推荐(0) 编辑
摘要: /* * Created by SharpDevelop. * User: Administrator * Date: 2008/9/3 * Time: 上午 11:04 * 抽像類(abstract) * abstract修飾符可以和類,方法,屬性,索引器及事件一起使用. * 在類聲明中使用abstract修飾符以指示某個類只能是其他類的基類. * 標記為抽像或包含在抽像類中的成... 阅读全文
posted @ 2008-09-03 12:24 Athrun 阅读(735) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/* * Created by SharpDevelop. * User: Administrator * Date: 2008/9/3 * Time: 上午 10:20 * 虛方法(virtu... 阅读全文
posted @ 2008-09-03 11:02 Athrun 阅读(456) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/* * Created by SharpDevelop. * User: Administrator * Date: 2008/9/2 * Time: 下午 11:39 * 事件(event)... 阅读全文
posted @ 2008-09-03 10:19 Athrun 阅读(1221) 评论(0) 推荐(0) 编辑
摘要: /* * Created by SharpDevelop. * User: Administrator * Date: 2008/9/2 * Time: 下午 10:23 * 委托(delegate) 委托聲明定義了一种類型,它用一組特定的參數以及返回類型來封裝方法. 對於靜態方法,委托對像封裝要調用的方法. 對於實例方法,委托對像同時封裝一個實例和該實例上的一個方法. 如果您有一個委托... 阅读全文
posted @ 2008-09-02 23:37 Athrun 阅读(721) 评论(0) 推荐(0) 编辑
摘要: 人生的35个经典好习惯 01、不说"不可能"三个字。 世上没什么事情是“不可能”的,区别只在于你是否尽力去做而已。 02、凡事第一反应:找方法,而不是找借口。 在你拼命挖空心思去寻找借口时,可能别人已经找到方法解决了。 03. 遇到挫折对自己大声说:太棒了! 不要轻易被挫折打败,只有在你积极面对挫折时,它才会离你而去。 04. 不说消极的话,不落入消极情绪,一旦出现立即正面处理。 永远保持乐... 阅读全文
posted @ 2008-09-02 19:13 Athrun 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 轉自:http://www.cnblogs.com/smile2008/articles/1217567.html class Test { private static string _name; private static string _id; static void Main() { _name=Console.ReadLine();... 阅读全文
posted @ 2008-09-02 00:01 Athrun 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 索引器概述 索引器使得对象可按照与数组相似的方法进行索引。 get 访问器返回值。set 访问器分配值。 this 关键字用于定义索引器。 value 关键字用于定义由 set 索引器分配的值。 索引器不必根据整数值进行索引,由您决定如何定义特定的查找机制。 索引器可被重载。 索引器可以有多个形参,例如当访问二维数组时。 C#语言一个最令人感兴趣的地方就是类的索引器(indexer)。简单说来,... 阅读全文
posted @ 2008-09-01 23:29 Athrun 阅读(549) 评论(0) 推荐(0) 编辑
摘要: http://zh.wikipedia.org/wiki/%E5%A4%9A%E9%A0%85%E5%BC%8F http://www.google.cn/search?hl=zh-CN&q=%E5%A4%9A%E9%A0%85%E5%BC%8F&btnG=Google+%E6%90%9C%E7%B4%A2&meta=&aq=f&oq= 阅读全文
posted @ 2008-09-01 12:28 Athrun 阅读(260) 评论(0) 推荐(0) 编辑
摘要: Lucene.Net介紹 阅读全文
posted @ 2008-09-01 09:17 Athrun 阅读(582) 评论(0) 推荐(0) 编辑
摘要: SQL2005新特性介紹 阅读全文
posted @ 2008-09-01 09:10 Athrun 阅读(525) 评论(0) 推荐(0) 编辑
摘要: 但两者所走的明星路线却很不相同,Rose出道是时,走的是UML面向对象建模,而后再向数据库建模发展,而PowerDesigner则反其道而行之,它先是一个纯粹的数据库建模工具,后来才向面向对象建模,业务逻辑建模及需求分析. 一、 二者的出身 作为世界最著名的两大CASE工具,Rational Rose和PowerDesigner的名声可谓如雷贯耳。Rose是当时全球最大的CASE工... 阅读全文
posted @ 2008-08-30 10:46 Athrun 阅读(585) 评论(1) 推荐(0) 编辑
摘要: http://www.cnblogs.com/yxonline/category/89658.html 阅读全文
posted @ 2008-08-30 09:08 Athrun 阅读(235) 评论(0) 推荐(0) 编辑
摘要: 昨天才新发现的一个很不错的SQL查询分析器辅助工具,SQL Prompt 3没有破解版,好像是试用15天 它的主要功能就是自动检测SQL查询分析器,当我们在查询分析器中输入内容的时候,它会自动去找到对应的表名、字段、存储过程或视图等,并出现一个候选列表,真的很方便,自动完成的功能一直是SQL欠缺的,好像SQL2005也还是没有自动完成的功能。但恰恰我真的很希望有这个东西,因为就算数据库是自已设计的... 阅读全文
posted @ 2008-08-30 08:46 Athrun 阅读(3065) 评论(2) 推荐(1) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/* * Created by SharpDevelop. * User: Administrator * Date: 2008/8/27 * Time: 下午 09:44 * 索引器(inde... 阅读全文
posted @ 2008-08-28 00:57 Athrun 阅读(569) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/* * Created by SharpDevelop. * User: Administrator * Date: 2008/8/27 * Time: 下午 08:29 * 屬性(prope... 阅读全文
posted @ 2008-08-27 21:41 Athrun 阅读(353) 评论(0) 推荐(0) 编辑
摘要: /* * Created by SharpDevelop. * User: Administrator * Date: 2008/8/27 * Time: 下午 04:52 * 類型轉換 * C#中類型轉換的機制分為兩種: * 隱式轉換(Implicit Conversions) * 顯式轉換(Explicit Conversions) * 隱式轉換不需指明欲轉變的目的類型; ... 阅读全文
posted @ 2008-08-27 18:36 Athrun 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 修飾符 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/* * Created by SharpDevelop. * User: Administrator * Date: 2008/8/27 * Time: 下午 12:56 * 修... 阅读全文
posted @ 2008-08-27 12:55 Athrun 阅读(398) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->/* ... 阅读全文
posted @ 2008-08-27 10:09 Athrun 阅读(411) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->usi... 阅读全文
posted @ 2008-08-27 09:32 Athrun 阅读(496) 评论(0) 推荐(0) 编辑
摘要: //簡單方法的應用,沒有帶參數 using System; namespace Athrun { class Method { public static void MyMethod() { Console.WriteLine("this is a method"); } static void... 阅读全文
posted @ 2008-08-27 09:21 Athrun 阅读(372) 评论(1) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//命名空間的使用 //.NET Framework類庫由命名空間組成.每個命名空間都包含在程序中使用的類型:類,結構,枚舉,委托和接口. using System; namespace Athrun {... 阅读全文
posted @ 2008-08-27 09:01 Athrun 阅读(291) 评论(0) 推荐(0) 编辑
摘要: /* * *1,配置--修改電腦的系統環境變數 *我的電腦->內容->高級->環境變數中的系統變數中的path後面加上";"號再加上"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727"後這時候在cmd環竟下就可以直接使用csc來編譯. * * Created by SharpDevelop. * User: Administrator * ... 阅读全文
posted @ 2008-08-27 08:50 Athrun 阅读(545) 评论(0) 推荐(0) 编辑
摘要: 轉自:http://dev.csdn.net/article/82/82644.shtm .NET委托:一个C#睡前故事 英文版原作者:Chris Sells(http://www.sellsbrothers.com/) 翻译:袁晓辉(http://www.farproc.com/ http://blog.csdn.net/uoyevoli) 紧耦合 从前,在南方一块奇异的土地上,有个工人名... 阅读全文
posted @ 2008-08-25 17:11 Athrun 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 轉自:http://www.cnblogs.com/JoeDZ/archive/2008/08/19/1270917.html SQL Server中文版的默认的日期字段datetime格式是yyyy-mm-dd Thh:mm:ss.mmm 例如: select getdate() 2004-09-12 11:06:08.177 整理了一下SQL Server里面可能经常会用到的日期格式... 阅读全文
posted @ 2008-08-19 11:52 Athrun 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 1.向项目中添加Jscript文件 //script_1.js----- function doClick1() { alert("OK1_wufeng"); } //script_2.js----- function doClick2() { alert("OK2"); } 2.解决方案资源管理器中,右键查看script_1.js和script_2.js的属性,把高级中的“生成操... 阅读全文
posted @ 2008-08-18 08:08 Athrun 阅读(329) 评论(0) 推荐(0) 编辑
摘要: 很简单的一个东西,见网上好多朋友问“怎么实现交叉表?”,以下是我写的一个例子,数据库基于SQL SERVER 2000。 交叉表实例 建表: 在查询分析器里运行: CREATE TABLE [Test] ( [id] [int] IDENTITY (1, 1) NOT NULL , [name] [nvarchar] (50) COL... 阅读全文
posted @ 2008-08-16 11:34 Athrun 阅读(2782) 评论(0) 推荐(0) 编辑
摘要: 交叉数据报表 有时候需要旋转结果以便在水平方向显示列,而在垂直方向显示行。这就是所谓的创建 PivotTable®、创建交叉数据报表或旋转数据。 假定有一个表 Pivot,其中每季度占一行。对 Pivot 的 SELECT 操作在垂直方向上列出这些季度: Year Quarter Amount ---- ------- ------ 1990 ... 阅读全文
posted @ 2008-08-16 10:51 Athrun 阅读(643) 评论(2) 推荐(0) 编辑
摘要: 今天做了个视图,JOIN了两张表,要求除了INNER JOIN的记录,还要两张表的其他未选取的记录,所以偶就想到了FULL JION。试了一下ACCESS居然不支持,狂郁闷啊!! 到网上差了一下有哥们说先LEFT JOIN,再RIGHT JOIN最后再UNION ALL一下(两个表结构要相同)。思路是对的,不过他的两张表都是SELECT *的,所以是可以的,可是我两张表... 阅读全文
posted @ 2008-08-16 10:48 Athrun 阅读(1168) 评论(0) 推荐(0) 编辑
摘要: 轉自: http://www.cnblogs.com/trampt/archive/2008/05/21/1203723.html User表 UserId UserName 1 test 2 myName 3 hello Type表 TypeId TypeName 1 三年制大专 2 五年制大专 3 中专 Use... 阅读全文
posted @ 2008-08-16 10:46 Athrun 阅读(1407) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> var strInfo=""; strInfo+="\r\n網頁可見區域寬:"+document.body.clientWidth; strInfo+="\r\n網頁可見區域高:"+... 阅读全文
posted @ 2008-08-06 16:31 Athrun 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 一直认为javascript函数的参数是普通的传值,对象的传址. 今天想把一个对象传到函数里面去重新生成后传出来,才知道我还是有地方理解错了. 先看http://beba-brook.blogspot.com/2006/06/vs.html的一段代码: 运行结果没问题,与我想象的一样: 呼叫FuncA前,變數num的值為:1。變數bool的值為:true 在函數FuncA中的變數num值... 阅读全文
posted @ 2008-08-05 08:15 Athrun 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 由于javascript函数无法按我想象的参数传址,因此有时就会返回多个值.使用如下代码: 参考:http://blog.csdn.net/leftfist/archive/2008/04/09/2269415.aspx 有时返回值中只要用第1个,则可以写成: s1=f(s1, man)[0]; 另外返回值还可以使用命名参数的形式: return {_s1:s1, _man:m... 阅读全文
posted @ 2008-08-05 08:15 Athrun 阅读(658) 评论(0) 推荐(0) 编辑
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 44 下一页