摘要:
动态绑定验证控件及动态生成相关的验证函数 阅读全文
摘要:
1.使用ASCX(web user control)引入共同的页面构图 2.用web.config配置管理接口 3.使用PlaceHolder代替Response.Write向前端输出消息 4.设计一个类. 结构化地保存数据. 封装对session或者cookie的访问. 5.用forms验证或者windows验证代替session验证身份 6.只有在以页为程序单元的时,使用Response.R... 阅读全文
摘要:
测试后行之CodeSmith模板:
如果还没做到测试先行,起码要做到测试后行。 阅读全文
摘要:
【1】正则表达式应用——替换指定内容到行尾 原始文本如下面两行 abc aaaaa 123 abc 444 希望每次遇到"abc",则替换"abc"以及其后到行尾的内容为"abc efg" 即上面的文本最终替换为: abc efg 123 abc efg 解决: ① 在替换对话框,查找内容里输入"abc.*" ② 同时勾选"正则表达式"复选框,然后点击"全部替换"按钮 其中,符号的含义如下: ... 阅读全文
摘要:
一、 Design(设计) 1. Abstract types should not have constructors 抽象类不应该声明构造方法 2. Assemblies should have valid strong names 程序集应该具有强名称 3. Avoid empty interfaces 避免使用空的接口 4. Avoid excessive parameters on... 阅读全文
摘要:
从Sample中粘出来的函数 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Private Sub GetKeyPress_NEXT() ' 定义InputMap的Option Dim im As FarPoint.Wi... 阅读全文
摘要:
在安装目录下新建一个NDocGui.exe.config 文件设定如下内容 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 阅读全文
摘要:
Bindable 布尔型,为true时表示VS.NET将在数据绑定对话框中显示该控件 Browsable 布尔型,表示该控件是否在设计视图中显示? Category 当Properties按类别排序时,决定控件所属的种类。 DefaultValue 缺省值。 Description 在Properties面板中的描述框中显示的文本内容。 Code highlighting produced by... 阅读全文
摘要:
ASCII = American Standard Code for Information Interchange Ascii 代码表 Ascii 0 {Nulo, Sem Som} Ascii 1 Ascii 2 Ascii 3 Ascii 4 Ascii 5 Ascii 6 Ascii 7 Ascii 8 {BackSpace} Ascii 9 {Tab} Ascii ... 阅读全文
摘要:
1,取得字符数 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Len(aStr) 2,取得字节数 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.C... 阅读全文