摘要: 1、配置文件中,若此数据表只是固定用户访问,比如 ado.userTable,则在配置表中加入schema="ado"<class table="userTable" name="userTable" shcema="ado" >2、在one-many关系中inverse表示是否存在倒转3、cascade 表示在执行删除的时候的方式 <bag name="BillToOrderHeaders" inverse="truecascade="all-delete 阅读全文
posted @ 2011-02-23 11:05 Sum_yang 阅读(132) 评论(0) 推荐(0) 编辑
摘要: 分辨率:176*208240*320320*480480*640每个页面保持在30k之内调用wireless css方法1. Linking to an external style sheet: link rel="stylesheet" href="site.css" type="text/css" media="handheld"2. Style deinition within the document: style type="text/css" media="handheld".../style3. Document style sheet with @media q 阅读全文
posted @ 2011-02-06 09:06 Sum_yang 阅读(474) 评论(0) 推荐(0) 编辑
摘要: Openwave Phone Simulator—http://developer.openwave.com/.Yospace SmartPhone Emulator—great collection of devices to simubrowser-based demo: http://www.yospace.com/spedemo.html.Opera Mini Simulator—a wonderful Java applet-based simulator that you can run within your browser. Works the same way as the 阅读全文
posted @ 2011-01-31 20:04 Sum_yang 阅读(418) 评论(0) 推荐(0) 编辑
摘要: 1、Creating WIX Installer for ASP.NET Web Application 阅读全文
posted @ 2010-10-05 06:43 Sum_yang 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 最近时间学习了MAPINFO的二次开发,主要做的是webgis这块的应用,趁着有时间总结一下,算是巩固本人使用的是mapxtreme 2005 6.7.1+ vs2005 在安装完mapxtreme 2005 6.7.1 后,打开vs2005,新建项目的地方可看到在填写位置和名称后,即可生成一个模板的MAPXTREME程序。点击运行,可看到运行结果:模板功能给出了基本的显示、放大、缩小、居中、平移... 阅读全文
posted @ 2010-08-04 16:43 Sum_yang 阅读(1267) 评论(0) 推荐(0) 编辑
摘要: http://www.hookedonlinq.com/是个学习LINQ的不错的网站 主要的操作方法 Operator TypeOperatorDescriptionAggregationAggregateThe Aggregate operator applies a function over a sequence.AverageThe Average operator computes th... 阅读全文
posted @ 2010-03-29 19:37 Sum_yang 阅读(610) 评论(0) 推荐(0) 编辑
摘要: 在 C# 1.0 中,您通过使用在代码中其他位置定义的方法显式初始化委托来创建委托的实例。C# 2.0 引入了匿名方法的概念,作为一种编写可在委托调用中执行的未命名内联语句块的方式。C# 3.0 引入了 Lambda 表达式,这种表达式与匿名方法的概念类似,但更具表现力并且更简练。这两个功能统称为“匿名函数”。通常,针对 .NET Framework 版本 3.5 及更高版... 阅读全文
posted @ 2010-03-14 07:14 Sum_yang 阅读(752) 评论(0) 推荐(0) 编辑
摘要: 基本选择器子选择器特征选择器位置选择器jQuery选择器 一 基本选择器 $("input“) :选择所有是input标签的元素 $("#input1"):选择id为input1的元素 $(".acss"):选择所有包含acss 这个css类样式的 代码 Code highlighting produced by Actipro CodeHighlighter (freeware)... 阅读全文
posted @ 2009-12-27 08:09 Sum_yang 阅读(1456) 评论(0) 推荐(0) 编辑
摘要: Some times we need to detect the Browser Close to perform some operation before quiting from application. Here is a simple way.function CheckBrowser(){ // Check Browser Close [X] , Alt+F4 , File ->... 阅读全文
posted @ 2009-11-19 06:13 Sum_yang 阅读(277) 评论(0) 推荐(0) 编辑
摘要: [代码] 阅读全文
posted @ 2009-11-13 20:29 Sum_yang 阅读(627) 评论(0) 推荐(0) 编辑