随笔分类 -  ASP.Net

Visual Studio.Net 快捷键表
摘要:快捷键 功能 CTRL + SHIFT + B 生成解决方案 CTRL + F7 生成编译 CTRL + O 打开文件 CTRL + SHIFT + O 打开项目 CTRL + SHIFT + C 显示类视图窗口 F4 显示属性窗口 SHIFT + F4 显示项目属性窗口 CTRL + SHIFT + E 显示资源视图 F12 转到定义 CTRL + F12 转到声明 CTRL + ALT + J... 阅读全文
posted @ 2005-01-11 17:09 十锦 阅读(394) 评论(0) 推荐(0)
动态产生Grid的column
摘要:DeptColumn.csusing System;using System.Web.UI;using System.Web.UI.WebControls;using System.Data;using System.Diagnostics;namespace Asus.WebSite.QBR.SurveyTemplate{ &... 阅读全文
posted @ 2004-12-24 15:10 十锦 阅读(1374) 评论(7) 推荐(0)
如何在design time生成控件的child item控件的html
摘要:[ControlBuilderAttribute(typeof(ImportFilesControlBuilder)),ParseChildren(false), //true,"ColumnNames"PersistChildren(false),//Designer(typeof(ImportFilesDesigner))]public class ImportFiles: System.We... 阅读全文
posted @ 2004-10-25 17:31 十锦 阅读(325) 评论(0) 推荐(0)
各方式连接oracle db 的性能测试(c#)
摘要:Result: Code:[System.Runtime.InteropServices.DllImport("KERNEL32")]privateexternstaticboolQueryPerformanceCounter(outlongcounter);[System.Runtime.InteropServices.DllImport("KERNEL32")]privateexternsta... 阅读全文
posted @ 2004-10-21 12:09 十锦 阅读(1241) 评论(0) 推荐(0)
視狀況做驗證
摘要:ASP.NET提供了五種做驗證(Validation)的控項, 可以直接放在設計的頁面上, 透過屬性的設定就能做到在用戶端進行資料驗證的功能. 這在使用上相當方便. 但有時候, 在設計網頁時, 並不見得會一直需要做驗證的, 可能會有一種情形, 驗證會隨另一個控項中的值而定, 例如:有兩個控項, 在第一個控項中如果輸入的金額超過某一個額度時, 就需要在第二個控項中輸入說明, 如果在這種情況下, 你如... 阅读全文
posted @ 2004-10-14 08:55 十锦 阅读(253) 评论(0) 推荐(0)