05 2008 档案
摘要:请按任意键,你将得到该键的键值! keycode 0 = keycode 1 = keycode 2 = keycode 3 = keycode 4 = keycode 5 = keycode 6 = keycode 7 = keycode 8 = BackSpace BackSpace keycode 9 = Tab Tab keycode 10 = keycode 1...
阅读全文
摘要:1..NET Role-Based Security in a Production Environment 2.Google's Static Map API WebControl 3.Check if JavaScript is Enabled from Server-Side Using an User Control 4.A .NET API for the Google Maps G...
阅读全文
摘要:静态构造函数用于初始化任何静态数据,或用于执行仅需执行一次的特定操作。在创建第一个实例或引用任何静态成员之前,将自动调用静态构造函数。 1class SimpleClass 2{ 3 // Static constructor 4 static SimpleClass() 5 { 6 // 7 } 8} 静态构造函数具有以下特点: 静态构...
阅读全文
摘要:链接:http://www.csharphelp.com/archives4/archive693.html 1GetUrls urls = new GetUrls(); urls.RetrieveUrls("http://www.microsoft.com"); 2 3 4The class is listed below. Have fun! 5//required names...
阅读全文
摘要:链接:http://www.csharphelp.com/archives4/archive694.html From Decimal to Binary... 1using System; 2 3class Program{ 4 5 static void Main(string[] args){ 6 7 try{ 8 9 int i = (i...
阅读全文
摘要:1Regarding on the GridView control's RowUpdating event problem, it is the 2expected behavior because when we do not associate GridView(or other 3ASP.NET 2.0 databound control) with DataSource con...
阅读全文
摘要:链接:http://www.codeproject.com/KB/aspnet/ImageHandler.aspx 1 2 3using System; 4using System.Drawing; 5using System.Drawing.Imaging; 6using System.IO; 7using System.Web; 8using System.We...
阅读全文
摘要:1Entering NULL values into SQL Server 2000 using Parameterized Queries (including date columns) 2 Here's another often asked question : 3(1) The first thing to do if you have datetime columns that...
阅读全文
摘要:链接:http://aspalliance.com/1637_Managing_Configuration_Data_Programmatically_in_ASPNET_20.all Listing 1 Configuration configuration = WebConfigurationManager.OpenWebConfiguration(Request.Applicatio...
阅读全文
摘要:链接:http://www.codeproject.com/KB/combobox/DataBinding_with_Enum.aspx KEY: Since SortedList is capable to sort out the item by its "keys" What I did here is for "keys" I have used the Values of Enum an...
阅读全文
摘要:链接:http://msdn.microsoft.com/en-us/library/system.collections.sortedlist.aspx A SortedList element can be accessed by its key, like an element in any IDictionary implementation, or by its index, like ...
阅读全文
摘要:select * from col like '%'+char(9)+'%' select * from col like '%'+char(10)+'%' select * from col like '%'+char(13)+'%' chr(10)表示换行 chr(9)表示打出一个TAB键的空格! VBscript chr(13)代表回车,chr(32)代表空格,chr(34)代...
阅读全文
摘要:http://blog.csdn.net/cspyb/archive/2007/11/04/1865538.aspx LockType 属性 指示编辑过程中对记录使用的锁定类型。 设置和返回值 设置或返回以下某个 LockTypeEnum 的值。 常量 说明 adLockReadOnly 默认值,只读。无法更改数据。 adLockPessimistic 保守式记录锁定(逐条)。提供者执行...
阅读全文
摘要:1.Debug class Namespace: System.Diagnostics This class provides methods to display an Assert dialog box, and to emit an assertion that will always fail. This class provides write methods in th...
阅读全文
摘要:链接地址:http://www.codeproject.com/KB/aspnet/NavAwayFromPage.aspx Introduction This code enables a Web page to notify users that they are leaving a page that they have made modifications to. Why is this...
阅读全文
摘要:Uploads a name/value collection to a resource with the specified URI. 1)UploadValues Method(String,NameValueCollection) 2)UploadValues Method(Uri,NameValueCollection) 3)UploadValues Method(string,stri...
阅读全文
摘要:using System; using System.Collections; using System.Collections.Specialized; public class SamplesNameValueCollection { public static void Main() { // Creates and initializes a new NameV...
阅读全文
摘要:1.MSproject.cn NET资源站点汇总 编号:001 http://code.msdn.microsoft.com/Project/ProjectDirectory.aspx?TagName=.NET ***********************...
阅读全文
摘要:1.Binding ASP.NET TreeView to a DataSet or an ObjectDataSource the TreeView can bind to any object implementing the interface IHierarchicalDataSource. 2.Faster JavaScript StringBuilder...
阅读全文
摘要:在有合适的索引的时候,Top n和set rowcount n是一样快的。但是对于一个无序堆来说,top n更快。 原理自己看英文去。 Q. Is using the TOP N clause faster than using SET ROWCOUNT N to return a specific number of rows from a query? A. With proper in...
阅读全文
摘要:1 2 3 4 5 6 7 8 9 Untitled Page 10 28 29 30 31 32 33 34 35 36 37 38 39 ...
阅读全文
摘要:ASK: I dont understand the solution which was: Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be ...
阅读全文
摘要:A "FULL JOIN" is an outer join that takes *all* data from both tables, matched where it can, as opposed to a LEFT or RIGHT join that takes all the data from one table, *and* any matching records from ...
阅读全文

浙公网安备 33010602011771号