eEhdsa

2009年9月3日

Create a new forest & domain controller under win2k8

摘要: PS: Here is the guider to create a simplest DC under windows server 2008. Run "DCPROMO", check "Use advanced modle installation".Click "Next" two times. Now, choose as you want, here we choose "Create... 阅读全文

posted @ 2009-09-03 14:50 eEhdsa 阅读(275) 评论(0) 推荐(0) 编辑

2009年9月2日

lambda's show time...

摘要: Case1:写一个方法,输入一个表示整型的字符串列表, 并返回一个列表,包含其中偶数的平方, 并且需要按照平方后的结果排序”。 [代码]VS[代码]Where ==> filterSelect ==>changeCase2:列出所有的关键字, 根据其首字母进行分组, 并且要求对每组内部的关键字进行排序 [代码]VS[代码]Key & Count are proper... 阅读全文

posted @ 2009-09-02 10:13 eEhdsa 阅读(214) 评论(0) 推荐(0) 编辑

2009年9月1日

Sum-up of XSLT to XHTML

摘要: 1:Used XML and XSLT-XML[代码]-XSLT[代码]2:Set in XMLAdd the code below to XML doc[代码]3:Use JavaScript[代码]4:Use C#[代码]Reference:http://msdn.microsoft.com/zh-cn/library/system.xml.xsl.xslcompiledtransform.t... 阅读全文

posted @ 2009-09-01 17:50 eEhdsa 阅读(250) 评论(0) 推荐(0) 编辑

2009年8月17日

一个提醒...such as implement System.Collections.Generic.IComparer<T>

摘要: Like this:[代码]The same as: L.Sort((a,b) => b-a);If it's not a List<T>We can cast it as:[代码]Then can use linq to do the things we need with myUsersBut sometimes this may throw exceptions...bec... 阅读全文

posted @ 2009-08-17 00:25 eEhdsa 阅读(191) 评论(0) 推荐(0) 编辑

2009年8月16日

about marquee

摘要: 1:The standard marquee<marquee>Detail here</marquee>Such as: <marquee direction=left behavior=alternate>direction, behavior</marquee>also: the parameters can be: scrollamount=2... 阅读全文

posted @ 2009-08-16 22:53 eEhdsa 阅读(340) 评论(0) 推荐(0) 编辑

2009年8月13日

An interesting math problem

摘要: Verify the regularsolid shapes only can be five types.证明正多面体只能有5种.First: Look at the proof procedure below:[代码]Yes, it's just so easy :0Then I try to carve it out with codeSecond: The easiest solution... 阅读全文

posted @ 2009-08-13 23:16 eEhdsa 阅读(309) 评论(0) 推荐(0) 编辑

2009年8月10日

JSON

摘要: Here is a simple introduce code of JSON[代码]The Script used can download from here : http://www.json.org/[代码]reference:http://www.cnblogs.com/hunts/archive/2006/11/15/561710.aspx 阅读全文

posted @ 2009-08-10 10:33 eEhdsa 阅读(472) 评论(0) 推荐(0) 编辑

2009年8月3日

Study of AJAX

摘要: Generally, Ajax isHTML、JavaScript™、DHTMLand DOM1, XMLHttpRequest :As a result of the browser war several years ago, we should createit's instance as follows:[代码]The function it provides:open():建... 阅读全文

posted @ 2009-08-03 18:07 eEhdsa 阅读(380) 评论(0) 推荐(0) 编辑

Set Session With Several Ways

摘要: First:how to read session 1, Session["key"].ToString() 2, <%=Session["key"]%>ASPX.CSIt's easy as you know, here I'll foucus on "ASPX".ASPX: Solution 1: __doPostBack Here the initialize is necess... 阅读全文

posted @ 2009-08-03 14:45 eEhdsa 阅读(221) 评论(0) 推荐(0) 编辑

2009年7月30日

interesting sql

摘要: [代码]Result:go2,1Doctor1[代码]select 0591, 10, 2 unionselect 0591 , 20 , 3 unionselect 0591 ,40, 6 unionselect 0594 ,11 , 4 unionselect 0594 ,30 , 6 unionselect 0594 ,30 , 4 --------------------->5911... 阅读全文

posted @ 2009-07-30 18:08 eEhdsa 阅读(213) 评论(0) 推荐(0) 编辑

sql 常用函数

摘要: 1:replace 函数第一个参数你的字符串,第二个参数你想替换的部分,第三个参数你要替换成什么select replace('lihan','a','b') -----------------------------lihbn(所影响的行数为 1 行)=========================================================2:substring函数第一个... 阅读全文

posted @ 2009-07-30 15:22 eEhdsa 阅读(170) 评论(0) 推荐(0) 编辑

2009年6月16日

js 页面载入时的执行顺序

摘要: 页面载入时Js执行顺序1. 【head部】脚本(无defer属性)2. 【.net后台】注册的Block脚本3. 【body部】脚本(无defer属性)4. 【.net后台】注册的StartUp脚本5. 含defer属性的脚本6. window.onload7. jQuery的加载函数(无defer属性)8. jQuery的加载函数(含defer属性) 阅读全文

posted @ 2009-06-16 16:51 eEhdsa 阅读(1466) 评论(0) 推荐(0) 编辑

.net 后台载入执行顺序

摘要: 1. ASP.NET_Page事件的执行顺序 Page 执行中将按照如下顺序激活事件:Page.PreInitPage.InitPage.InitComplitePage.PreLoadPage.LoadPage.LoadCompletePage.PreRenderPage.PreRenderComplete2. 如果页面从令一个页面继承,如BasePage:System.Web.UI.Page,... 阅读全文

posted @ 2009-06-16 10:18 eEhdsa 阅读(321) 评论(0) 推荐(0) 编辑

2009年5月8日

t-sql 技巧整理

摘要: 摘自:http://ghd258.cnblogs.com/archive/2006/03/20/354147.html把长日期转换为短日期 Convert(char(10),getdate(),120) MS-SQL数据库开发常用汇总1.按姓氏笔画排序:Select*FromTableNameOrderByCustomerNameCollateChinese_PRC_Stroke_ci_as2.数... 阅读全文

posted @ 2009-05-08 17:24 eEhdsa 阅读(347) 评论(0) 推荐(0) 编辑

2009年5月4日

一些sample还是不错的

摘要: http://www.asp.net/community/projects/ 阅读全文

posted @ 2009-05-04 15:17 eEhdsa 阅读(129) 评论(0) 推荐(0) 编辑

2009年4月29日

牛奶报纸...

摘要: Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1using System; 2using System.Collections; 3using System.Text; 4 5namespace TestConsoleA... 阅读全文

posted @ 2009-04-29 17:43 eEhdsa 阅读(202) 评论(0) 推荐(0) 编辑

2009年4月23日

不错的题目

摘要: 部分参照:http://blog.csdn.net/farawayplace613/archive/2008/08/26/2835210.aspx 1. different between event and delegate 1,event只能在申明的类中被使用,delegate在这方面可理解为class。 2,event,只能用+=或-=来添加和删除订阅... 阅读全文

posted @ 2009-04-23 16:10 eEhdsa 阅读(273) 评论(0) 推荐(0) 编辑

2009年4月22日

Convert.ToInt32、(int)和int.Parse三者的区别

摘要: 参考http://www.cnblogs.com/flyker/archive/2009/03/04/1402673.html 对null值的处理,习惯了用covert,但要主要null时返回0也许不是我想要的结果:) 阅读全文

posted @ 2009-04-22 08:48 eEhdsa 阅读(186) 评论(0) 推荐(0) 编辑

2009年4月16日

电话面试记录

摘要: WS: 1,不同页面传值: form:get(url);post(form.id) session,Application,Cookie window.open(window.opener) window.showModalDialog(request.querystring) 方法 信息量大小 ... 阅读全文

posted @ 2009-04-16 13:48 eEhdsa 阅读(222) 评论(0) 推荐(0) 编辑

2009年4月9日

GC

摘要: [代码]几点需要注意:准确理解.Net 中GEN 0-2, 任何新分配的对象会分配进gen0, 而gen0,1,2在内存上的大小都有限制, 所以可以推出GC执行的情况有以下几种新分配对象时gen0溢出,则自动GC.Collect()主动GC.Collect()内存压力,即gen3都要满时 2. 一次GC.Collect()大概是以下步骤挂起正在调用的线程取得哪些可以被收集, 询问JIT? fina... 阅读全文

posted @ 2009-04-09 16:32 eEhdsa 阅读(264) 评论(0) 推荐(0) 编辑

导航