摘要: Who paid for Tony's dinner?I was having dinner at a restaurant when Tony Steele came in. Tony worked in a lawer office years ago, but now he is now working at a bank, he gets a good salary but he alwa... 阅读全文
posted @ 2008-03-17 13:34 Ready! 阅读(281) 评论(0) 推荐(0) 编辑
摘要: What happened to the clavichord?[begin]We have an old music instrument, it is called a clavichord. It is made in Germany in 1681. Our clavichord is keeeping in living room. It is belong to our family ... 阅读全文
posted @ 2008-03-12 10:21 Ready! 阅读(217) 评论(0) 推荐(0) 编辑
摘要: On Wednesday evening, we went to the Town Hall, it was the last day of the year and a large acrowd of people had gathered at the Town Hall Clock. It was striking twelve in twenty minutes time, Fifteen... 阅读全文
posted @ 2008-03-10 15:04 Ready! 阅读(248) 评论(0) 推荐(0) 编辑
摘要: Joe Sanders has the most beautiful garden in our town, nearly everybody enters The Nice Garden Competition each year, but Joe wins every time. Bel's garden is larger than Joe's, they works harder than... 阅读全文
posted @ 2008-03-10 14:46 Ready! 阅读(231) 评论(0) 推荐(0) 编辑
摘要: publicclassBinaryNode{publicintData;publicBinaryNodeLeft;publicBinaryNodeRight;}publicclassBinaryTree{publicvoidPreOrder(BinaryNodenode){if(node!=null){Console.WriteLine(node.Data);PreOrder(node.Left)... 阅读全文
posted @ 2008-03-05 14:09 Ready! 阅读(496) 评论(0) 推荐(0) 编辑
摘要: The plane was late and the detectives were waiting at the airport all morning. They were expecting a valuable parcel of diamonds from South Africa. A few hours earlier, someone had told the police tha... 阅读全文
posted @ 2008-03-04 14:41 Ready! 阅读(244) 评论(0) 推荐(0) 编辑
摘要: I have just moved to a house in Brich Street. Yesterday a beggar knocked my door, he asked me for a meal and a glass of bear. In return for this, the beggar stood on his head and sang songs. I gave hi... 阅读全文
posted @ 2008-03-04 14:23 Ready! 阅读(246) 评论(0) 推荐(0) 编辑
摘要: Mr. has a garage in S, and now he has just bought another garage in P. P is only five miles from S, but Mr. can not get telephone for his new garage, so he just bought twelve pigeons. Yesterday a pige... 阅读全文
posted @ 2008-02-28 13:51 Ready! 阅读(259) 评论(0) 推荐(0) 编辑
摘要: I have just received a letter from my brother Tim. He is an Australian, he has been left for six months. Tim is an engineer, he is working for a big firm, and he has already visited a great number of ... 阅读全文
posted @ 2008-02-27 10:15 Ready! 阅读(296) 评论(0) 推荐(0) 编辑
摘要: Postcards always spoils my holidays. Last summer, I went to Italy, I visited museums and sat in public gardens. A friendly waitor taught me a few words of Italian. Then she lent me a book, I read a fe... 阅读全文
posted @ 2008-02-27 10:14 Ready! 阅读(226) 评论(0) 推荐(0) 编辑
摘要: It was Sunday, I never get up early on Sundays. I sometime stayed in bed to lunch time. Last Sunday, I got up very late, I looked out of the window, it was dark outside. "What a day", I thought, "It's... 阅读全文
posted @ 2008-02-25 10:07 Ready! 阅读(287) 评论(0) 推荐(0) 编辑
摘要: Last week, I went to the theater. I had a very good seat, the play was very intresting, I did not enjoy it. A young man and a young woman were sitting behind me, they were talking loudly. I got very a... 阅读全文
posted @ 2008-02-22 10:57 Ready! 阅读(255) 评论(0) 推荐(0) 编辑
摘要: Pointers are special kinds of variables. There are three kinds of pointers supported by the runtime: managed pointers, unmanaged pointers, and unmanaged function pointers. A managed pointer, also ... 阅读全文
posted @ 2008-02-21 10:22 Ready! 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 今天在网上看到一篇随笔,以金庸小说里的人物练剑为例,道出了一个简单的道理。说是,华山派有两派:剑宗与气宗。两派之争一直就没有停息过。直接摘一段文字过来吧。 关于两宗的,上下优劣书中有不少笔墨,无非是各执一词,各护其短。其实说白了无非是个辨证法----剑宗一味追求技巧上的繁复多变,以为真把自己手中的剑练成了能给苍蝇蚊子开膛破肚的手术刀便能无敌于天下,气宗则沉稳老练一些,别看剑宗弟子的剑花一抖一抖的... 阅读全文
posted @ 2008-02-20 10:44 Ready! 阅读(535) 评论(2) 推荐(0) 编辑
摘要: 在SSAS(SQL Server Analysis Services)中构建Cube和编写MDX的时候,我们很容易被一些名词弄糊涂,比如:Dimension(维度),Measures Dimension(度量维度),Measure(度量),Hierarchy(层次结构),Attribute hierarchy(属性层次结构),Level(级别),Cell(单元),Member(成员),Member... 阅读全文
posted @ 2008-02-19 10:34 Ready! 阅读(827) 评论(0) 推荐(0) 编辑
摘要: Untitled Page --> 阅读全文
posted @ 2008-01-18 16:35 Ready! 阅读(203) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> System.Drawing.Printing.PrintDocument doc = new PrintDocument(); doc.Prin... 阅读全文
posted @ 2007-11-29 11:06 Ready! 阅读(4173) 评论(5) 推荐(1) 编辑
摘要: 前一阵写了一篇Blog,给出了一些SSO的资料(http://www.cnblogs.com/AndersLiu/archive/2007/05/25/760041.html)。现在把其中的一篇翻译出来。 翻译:Single Sign-On for Everyone 原文地址:http://bbs.hidotnet.com/22656/ShowPost.aspx 单点登录(Single ... 阅读全文
posted @ 2007-09-20 17:39 Ready! 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 在SAX与DOM之间,如何选择 选择 DOM 还是 SAX,这取决于几个因素: 应用程序的目的:如果必须对数据进行更改,并且作为 XML 将它输出,则在大多数情况下,使用 DOM。与使用 XSL 转换来完成的简单结构更改不一样,如果是对数据本身进行更改,则尤其应该使用 DOM。 数据的数量:对于大文件,SAX 是更好的选择。 将如何使用数据:如果实际上只使用一小部分数据,... 阅读全文
posted @ 2007-09-12 14:45 Ready! 阅读(518) 评论(0) 推荐(0) 编辑
摘要: If you worked with Windows Workflow before on Visual Studio 2005, copied a workflow diagram from a workflow project into a second normal project, added the proper references, built the second project ... 阅读全文
posted @ 2007-09-11 10:44 Ready! 阅读(764) 评论(0) 推荐(0) 编辑
摘要: 直接对 ' /> 然后, protected void SmartGrid_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowT... 阅读全文
posted @ 2007-08-29 12:59 Ready! 阅读(496) 评论(0) 推荐(0) 编辑
摘要: 本文将对MSDN中ms-help://MS.MSDNQTR.v80.en/MS.MSDN.v80/MS.NETDEV.v10.en/dnreal/html/realworld03112005.htm的用法进行改写,因为它针对的是Sql Server 2005 beta版本。The following managed database objects are supported by SQL Ser... 阅读全文
posted @ 2007-08-03 11:44 Ready! 阅读(1205) 评论(0) 推荐(0) 编辑
摘要: 当然一个人如果有了强烈的动机和欲望之后,还有两点非常重要的,没有这两点,也是不可能成功的,那就是要用足够的行动力和坚不可摧的毅力和信念。一个人讲的再多,想的再好,动机和欲望再强,如果没有付出行动,那么这一切都是空谈,同时在行动的过程当中,一定要有一股强大的毅力和信念在你的背后支持着,“心想事成,美梦成真”,你一定要相信自己所选择的道路是正确的,一定要想信自己能够成功,脚步大小不重要,目标明确最重要... 阅读全文
posted @ 2007-06-26 11:06 Ready! 阅读(471) 评论(0) 推荐(0) 编辑
摘要: add=Adds two values and pushes the result onto the evaluation stack.add.ovf=Adds two integers, performs an overflow check, and pushes the result onto the evaluation stack.add.ovf.un=Adds two unsigned ... 阅读全文
posted @ 2007-04-29 12:16 Ready! 阅读(630) 评论(0) 推荐(0) 编辑
摘要: 术语“托管(managed)”是许多混乱产生的起因,在.NET中,它被用于许多不同的地方,所表达的东西有着细微的差别。 托管代码(Managed code):.NET framewor为运行在它里面的程序提供了数个核心运行时服务,例如异常处理和安全。为了使这些服务能够运作起来,代码必须向运行时提供最起码的信息,这样的代码被称为托管代码。默认来说,所有C#和Visual Basic.NET代码都是... 阅读全文
posted @ 2007-04-29 10:23 Ready! 阅读(865) 评论(0) 推荐(0) 编辑
摘要: MSIL: Microsoft Intermediate LanguageCLR: Common Language RuntimeCTS: Common Type SystemCLS: Common Language Specification....to be continued 阅读全文
posted @ 2007-04-29 10:17 Ready! 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 很多数据库操作需要进行事务,Asp.net下面进行事务大致有3个层次:(1)存储过程层次的事务(2)Ado.Net层次的事务(3)Asp.Net页面层次的事务下面分别举例:首先建立trantest表,字段id(int),test(char)为id设置主键(利用主键是不允许重复的特性进行事务测试)(1)CREATE PROCEDURE Tran1asbegin tranInsert Into tra... 阅读全文
posted @ 2007-04-28 17:49 Ready! 阅读(360) 评论(0) 推荐(0) 编辑
摘要: Case: aspx页面有一控件,希望点击控件上一按钮,进行一些运算,得到一DataTable,将该DataTable绑定到页面一数据控件上。控件cs文件:1. 定义代理 public delegate void RetrieveTargetsHandler(object sender, RetrieveEventArgs e);public class RetrieveEventArgs :... 阅读全文
posted @ 2007-04-27 18:04 Ready! 阅读(350) 评论(0) 推荐(0) 编辑
摘要: if(sRows[0]["Cycle"].GetType() != Type.GetType("System.DBNull"))//check if DBNull outCycle = Convert.ToInt32(sRows[0]["Cycle"]); 阅读全文
posted @ 2007-04-19 12:08 Ready! 阅读(3477) 评论(3) 推荐(0) 编辑
摘要: aspx页面:_Default为类名称,GetServiceStatus为类中的一个方法。 Untitled Page .cs文件 protected void Page_Load(object sender, EventArgs e) { Ajax.Utility.RegisterType... 阅读全文
posted @ 2007-04-11 15:26 Ready! 阅读(2201) 评论(0) 推荐(0) 编辑