上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: clientHeight / scrollHeight / offsetHeight 和 clientWidth / scrollWidth / offsetWidth 还有 clientTop / scrollTop / offsetTop 等属性的图示! 注意: 当页面使用的编码标准为下面语句时: 一些属性,如 body.clientHeight 就会失效,如果需要,可用下... 阅读全文
posted @ 2007-09-01 11:02 过河卒A 阅读(481) 评论(0) 推荐(0) 编辑
摘要: jquery plugin:jBox 1.0.0.0 release 香水坏坏 发表于 2007-8-26 [Javascript] What's jBox? jBox is a webpage UI dialog widget written in javascript on top of the jQuery library. it's easy to show a div element... 阅读全文
posted @ 2007-09-01 09:24 过河卒A 阅读(747) 评论(0) 推荐(0) 编辑
摘要: January 13, 2004 Get the code here! Introduction Tools like ASP.NET greatly simpli... 阅读全文
posted @ 2007-08-25 14:36 过河卒A 阅读(521) 评论(0) 推荐(0) 编辑
摘要: public static string Enquote(string s) { if (s == null || s.Length == 0) { return "\"\""; } char c; int i; int len = s.Length; ... 阅读全文
posted @ 2007-08-20 18:46 过河卒A 阅读(2312) 评论(0) 推荐(0) 编辑
摘要: 介绍我的一个朋友在一个正在开发的项目(一个博客网站)中遇到了一些问题,是关于文本编辑器的。在研究了所有免费的编辑器之后,他发现没有一个是他所需要的,所以我接下了这个任务,帮他开发一个HTML在线编辑器的用户控件,我认为和大家分享这个控件是个好主意,达到了知识共享的目的。这个编辑器包括如下一些特性1、工具栏包括了全部的功能(下面已列出) ·排列(居左,居中,居右) ·字体格式(加粗... 阅读全文
posted @ 2007-08-14 09:07 过河卒A 阅读(728) 评论(0) 推荐(0) 编辑
摘要: Maverick.Net介绍 Maverick.Net是Java社区开源MVC Web框架Maverick的.Net版本,相关资料可以查看项目主页。 不管Maverick.Net的是非好坏,了解一下它的思想还是不错的。下面的内容是对Maverick.Net整体做一个简单的介绍,以求能够从全局的角度了解Maverick.Net一些相关概念,大致如何工作。 另外,本人... 阅读全文
posted @ 2007-08-13 19:05 过河卒A 阅读(621) 评论(0) 推荐(0) 编辑
摘要: 下面的代码示例演示如何使用 ParentNodeStyle 属性控制 TreeView 控件中父节点的外观。view plaincopy to clipboardprint? TreeView ParentNodeStyle Example ... 阅读全文
posted @ 2007-08-11 14:12 过河卒A 阅读(1121) 评论(0) 推荐(0) 编辑
摘要: TreeView.DrawMode 属性的C#例子下面的代码示例演示如何使用所有者描述来自定义 TreeView 控件。此示例中的 TreeView 控件在标准节点标签旁边显示可选的节点标记。使用 TreeNode.Tag 属性指定节点标记。TreeView 控件也使用自定义颜色,包括自定义突出显示颜色。view plaincopy to clipboardprint?public TreeVie... 阅读全文
posted @ 2007-08-11 14:10 过河卒A 阅读(973) 评论(0) 推荐(0) 编辑
摘要: 下面的代码示例演示如何实现自定义集合的 IEnumerable 接口。在此示例中,没有显式调用但实现了 GetEnumerator,以便支持使用 foreach(在 Visual Basic 中为 for each)。此代码示例摘自 IEnumerable 接口的一个更大的示例。view plaincopy to clipboardprint?public class People : IEnum... 阅读全文
posted @ 2007-08-11 14:06 过河卒A 阅读(8138) 评论(3) 推荐(0) 编辑
摘要: 下面的代码示例演示如何使用 GetEnumerator 方法来创建 System.Collections.IEnumerator 接口,该接口可被循环访问以显示 DataGridColumnCollection 集合的内容。view plaincopy to clipboardprint? DataGridCo... 阅读全文
posted @ 2007-08-11 14:05 过河卒A 阅读(975) 评论(0) 推荐(0) 编辑
摘要: 示例说明如何使用 GetEnumerator 方法创建一个实现了 System.Collections.IEnumerator 的对象。然后循环访问该对象以显示选定行中的项。view plaincopy to clipboardprint? TableCellCollection Example ... 阅读全文
posted @ 2007-08-11 14:04 过河卒A 阅读(1192) 评论(0) 推荐(0) 编辑
摘要: 下面的代码示例使用 GetEnumerator 方法显示输入字符串中的每个 System.Char。view plaincopy to clipboardprint?// Example for the String.GetEnumerator( ) method. using System; using System.Collections; class GetEnumerato... 阅读全文
posted @ 2007-08-11 14:02 过河卒A 阅读(1985) 评论(0) 推荐(0) 编辑
摘要: 下面的示例演示如何使用 GetEnumerator 方法检索一个枚举数,该枚举数包含集合中的值。然后,循环访问该枚举数,并将第一个单元格的值显示在页上。view plaincopy to clipboardprint? GridViewRowCollection GetEnumerator Example ... 阅读全文
posted @ 2007-08-11 13:59 过河卒A 阅读(768) 评论(1) 推荐(0) 编辑
摘要: 下面的代码示例阐释了如何使用 GetEnumerator 方法。view plaincopy to clipboardprint?// Get 'Validators' of the page to myCollection. ValidatorCollection myCollection = Page.Validators; // Get the Enumerator. IEn... 阅读全文
posted @ 2007-08-11 13:57 过河卒A 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 下面的示例展示如何使用 GetEnumerator 方法创建一个实现了 System.Collections.IEnumerator 的对象,该对象被循环访问以显示表中的项。view plaincopy to clipboardprint? TableCellCollection Example ... 阅读全文
posted @ 2007-08-11 13:56 过河卒A 阅读(1155) 评论(0) 推荐(0) 编辑
摘要: 下面的代码示例演示如何使用 GetEnumerator 方法创建 System.Collections.IEnumerator 对象。然后循环访问 System.Collections.IEnumerator 对象以显示 HtmlTableRowCollection 集合的内容。view plaincopy to clipboardprint? ... 阅读全文
posted @ 2007-08-11 13:54 过河卒A 阅读(617) 评论(0) 推荐(0) 编辑
摘要: 下面的示例说明 GetEnumerator 方法的用法。包括在枚举数为活动的情况下从基础 DataTable 中删除行时枚举数的行为。view plaincopy to clipboardprint?public static void Main() { try { DataTable userTable = new DataTable("people... 阅读全文
posted @ 2007-08-11 13:43 过河卒A 阅读(3164) 评论(0) 推荐(0) 编辑
摘要: --> 下面的代码示例演示如何使用此构造函数将节点动态添加到 TreeView 控件。 1 2 3 49 50 51 52 53 54 TreeNode Constructor Example 55 56 57 58 59 60 61 ... 阅读全文
posted @ 2007-08-11 13:41 过河卒A 阅读(1810) 评论(0) 推荐(0) 编辑
摘要: DateTime类常用技巧 阅读全文
posted @ 2007-06-14 12:47 过河卒A 阅读(268) 评论(1) 推荐(0) 编辑
摘要: ASP.NET学习5--N层代码示例http://dev.csdn.net/author/gongchl2006/c9ce459daf3240aaa3d7e30dc32bed55.html 一、数据库Test, 表:create table Customers ( CustId int IDENTITY(1,1) primary key, CustName v... 阅读全文
posted @ 2007-06-12 20:26 过河卒A 阅读(463) 评论(1) 推荐(0) 编辑
摘要: 在ASP.NET 2.0中,对于跨页提交已经有了非常合理的解决方案下面是一个示例:BeginPage.aspx: 请注意Button1的PostBackUrl属性设置http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">Untitled PageEndPage.aspx:请注意PreviousPageType的属性设置http://www... 阅读全文
posted @ 2007-06-12 20:08 过河卒A 阅读(419) 评论(1) 推荐(0) 编辑
摘要: ... 阅读全文
posted @ 2007-06-12 20:05 过河卒A 阅读(2178) 评论(0) 推荐(0) 编辑
摘要: 使用透明叠加法的方法实现没有使用Iframe的操作。把文件域放在点击的span上,并让它透明。这样用户看到的是自定义span点击区域,看不到文件浏览的区域。点击的依然是浏览按钮,没有违反任何安全机制。原方法借鉴位置。 http://www.script8.com/bbs/thread.asp?tid=6Test HTML #@#添加附件 阅读全文
posted @ 2007-06-12 20:04 过河卒A 阅读(673) 评论(1) 推荐(0) 编辑
摘要: htmljs 阅读全文
posted @ 2007-06-12 20:01 过河卒A 阅读(3241) 评论(2) 推荐(0) 编辑
摘要: 客户端页面index.htmlhttp://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">ajax测试服务器端功能页面Check.aspxusing System;using System.Data;using System.Configuration;using System.Collections;using System.Web;usin... 阅读全文
posted @ 2007-06-12 19:59 过河卒A 阅读(1293) 评论(1) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页