Shawn Zhang's Programming Zone

软件,时代进步的推动者! 有事儿您Q我(Shawn)!♀飛雪傢銘♀的地盘欢迎您的到来!

导航

公告

12 2009 档案

SQL存储过程之游标和事务(自动审核)
摘要: set ANSI_NULLS ONset QUOTED_IDENTIFIER ONgoALTER PROCEDURE [dbo].[sp_auto_audit]ASBEGINDECLARE @auditCheck BITDECLARE @audit BITDECLARE @auditGroup BITDECLARE @approveCheck BITDECLARE @approve BITDECL...阅读全文

posted @ 2009-12-24 09:41 Shawn Zhang 阅读(2) | 评论 (0) 编辑

C# 泛型用法
摘要: 泛型是 C#2.0 语言和公共语言运行库 (CLR) 中的一个新功能。泛型将类型参数的概念引入 .NET Framework,类型参数使得设计如下类和方法成为可能:这些类和方法将一个或多个类型的指定推迟到客户端代码声明并实例化该类或方法的时候。例如,通过使用泛型类型参数 T,可以编写其他客户端代码能够使用的单个类,而不致引入运行时强制转换或装箱操作.使用泛型类型可以最大限度地重用代码、保护类型的安...阅读全文

posted @ 2009-12-20 15:57 Shawn Zhang 阅读(4) | 评论 (0) 编辑

TextBox边框样式 CSS代码
摘要: 一、.txt_commt{ime-mode:disabled;height:20px;border:solid 1px #5A6B94;}文本框 TextBox txt--> public void bindreg(TextBox txt, Int16 i, Int16 ll, Int16 ml)txt.CssClass = "txt_commf";txt.MaxLength = ml;tx...阅读全文

posted @ 2009-12-11 10:51 Shawn Zhang 阅读(6) | 评论 (0) 编辑

CSS(body,公告,文本内容框,超链接CSS)
摘要: body { margin:2px;font-family: "Arial", "Helvetica", "sans-serif"; font-size: 12px; font-style: normal; line-height: normal; font-weight: normal; font-variant: normal; text-transform: none; color: #00...阅读全文

posted @ 2009-12-10 10:05 Shawn Zhang 阅读(3) | 评论 (0) 编辑

div样式(文本方框)
摘要: <style>div { background-color:#ffffcc; padding-top:10px; padding-bottom:10px; padding-left:10px; padding-right:10px; border-style:solid; border-color:Black; border-width:1px;}</style>阅读全文

posted @ 2009-12-10 09:02 Shawn Zhang 阅读(3) | 评论 (0) 编辑

集装箱贝位
摘要: 集装箱箱号。集装箱箱号由三部分组成,分别是:一是箱主代码,它由4位拉丁字母组成;二是顺序号,它由6位阿拉伯数字组成;三是核对号,它由1位阿拉伯数字数字组成,外加方框。贝位图。集装箱积载的贝位图由6位字符代码组成,分别是:一是前两位为排(行)号,它由阿拉伯数字编号组成,一般是从船首向船尾按自然数顺序排列,有两种排法,装20FT时用01、03、05…表示,装40FT时用02、04、06&#...阅读全文

posted @ 2009-12-09 15:50 Shawn Zhang 阅读(295) | 评论 (0) 编辑

下拉框必填与只读
摘要: //下拉框只读 function SetReadOnly(obj){ obj.onbeforeactivate = function(){return false;}; obj.onfocus = function(){obj.blur();}; obj.onmouseover = function(){obj.setCapture();}; obj.onmouseout = functio...阅读全文

posted @ 2009-12-06 14:24 Shawn Zhang 阅读(7) | 评论 (0) 编辑