上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: CSDN上的引用.原地址:http://dev.csdn.net/article/79/79071.shtm1.取消按钮按下时的虚线框 在input里添加属性值 hideFocus 或者 HideFocus=true 2.只读文本框内容 在input里添加属性值 readonly 3.防止退后清空的TEXT文档(可把style内容做做为类引用) 4.ENTER键可以让光标移到下一个输入框... 阅读全文
posted @ 2007-06-12 19:53 过河卒A 阅读(1993) 评论(1) 推荐(0) 编辑
摘要: 1public void ItemCreated(object sender, DataGridItemEventArgs e) 2{ 3 ListItemType lit = e.Item.ItemType; 4 if (lit == ListItemType.Pager) 5 { 6 String strInitials; 7 8 ... 阅读全文
posted @ 2007-06-12 14:58 过河卒A 阅读(421) 评论(0) 推荐(0) 编辑
摘要: 可能表单中有很多个按钮,有的按钮我不希望激活对这些控件的验证(或者说这些按钮和这些控件无关),但却提交就会验证,其实很简单! 只要在不想验证控件的按钮中加入CausesValidation="false"即可,如: 阅读全文
posted @ 2007-06-10 00:28 过河卒A 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2007-06-10 00:21 过河卒A 阅读(390) 评论(1) 推荐(0) 编辑
摘要: .net调试javascript蛮方便的,写出来给大家共享一下,图片有点多,别怪我啊 1.设置IE高级选项,把禁止调试去掉2.然后关掉IE再打开,并打开调试的应用程序3.打开.net调试4.附加到.net进程5.然后再刷新web页面,可以看到客户端页面javascript脚本就可以调试了 阅读全文
posted @ 2007-06-09 22:22 过河卒A 阅读(483) 评论(1) 推荐(0) 编辑
摘要: 检测含有中文字符串的实际长度 ... 阅读全文
posted @ 2007-06-09 14:01 过河卒A 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 《WEB 打印的相关技术分析》 ... 阅读全文
posted @ 2007-06-09 13:52 过河卒A 阅读(529) 评论(1) 推荐(0) 编辑
摘要: 正则中几个难点 1、贪婪与非贪婪 有助于理解这一概念的帖子 http://community.csdn.net/Expert/topic/5435/5435240.xml?temp=.7199671 2、正向预搜索和反向预搜索 有助于理解这一概念的帖子 http://community.csdn.net/Expert/topic/5410/5410564.xml?t... 阅读全文
posted @ 2007-06-08 22:36 过河卒A 阅读(478) 评论(1) 推荐(0) 编辑
摘要: Hi Tim, Sorry example was not clear, Im looking to remove any multiple spaces throughout the sentence unless they are enclosed within speech marks. Therefore in the following sentence I am lookin... 阅读全文
posted @ 2007-06-08 17:18 过河卒A 阅读(296) 评论(1) 推荐(0) 编辑
摘要: ASCII表 ASCII值 控制字符 ASCII值 控制字符 ASCII值 控制字符 ASCII值 控制字符 ... 阅读全文
posted @ 2007-06-08 17:11 过河卒A 阅读(4349) 评论(1) 推荐(0) 编辑
摘要: Hashtable 一,哈希表(Hashtable)简述 在.NET work中,Hashtable是System.Collections命名空间提供的一个容器,用于处理和表现类似key/的键值对,其中key通常可用来快速查找,同时key是区分大小写;用于存储对应于key的值。Hashtable中key/键值对均为object类型,所以Hashtable可以支持任何类型的key/键值对. 二,... 阅读全文
posted @ 2007-06-08 15:51 过河卒A 阅读(4920) 评论(1) 推荐(2) 编辑
摘要: javascript是依赖于浏览器的,可能是IE 6不支持您的预加载图片的功能。 通过javascript预加载图片,您可以参考下述代码: New Document 阅读全文
posted @ 2007-06-03 22:54 过河卒A 阅读(1418) 评论(1) 推荐(0) 编辑
摘要: ASP.NET中的异常处理: 当一个异常在调用堆栈中没有被处理,也没有被框架代码处理时,我们说这个异常未处理,它将被ASP.NET捕获,ASP.NET对此未处理错误的处理方法是显示一个页面,列出该未处理异常的详细情况。 有两个在异常未处理时将被ASP.NET调用的事件: Page_Error event,它提供捕获在Page级别发生错误的方法。 Application_Error event,它提... 阅读全文
posted @ 2007-06-03 22:52 过河卒A 阅读(728) 评论(1) 推荐(0) 编辑
摘要: 此示例说明如何在窗体上绘制实心椭圆。 示例 System.Drawing.SolidBrush myBrush = new System.Drawing.SolidBrush(System.Drawing.Color.Red); System.Drawing.Graphics formGraphics = this.CreateGraphics(); formGraphics.Fi... 阅读全文
posted @ 2007-06-03 22:44 过河卒A 阅读(2166) 评论(3) 推荐(0) 编辑
摘要: 此示例说明如何创建 SolidBrush 对象。 示例 System.Drawing.SolidBrush myBrush; myBrush = new System.Drawing.SolidBrush(System.Drawing.Color.Black); 可靠编程 您应该始终对使用系统资源的任何对象(如 Brush 对象)调用 Dispose。 阅读全文
posted @ 2007-06-03 22:40 过河卒A 阅读(1969) 评论(0) 推荐(0) 编辑
摘要: 示例 System.Drawing.Pen myPen; myPen = new System.Drawing.Pen(System.Drawing.Color.Black); 可靠编程 您应该始终对使用系统资源的任何对象(如 Pen 对象)调用 Dispose。 阅读全文
posted @ 2007-06-03 22:39 过河卒A 阅读(1852) 评论(1) 推荐(0) 编辑
摘要: 此示例创建并填充 Bitmap 对象,然后在现有的 Windows 窗体 PictureBox 控件中显示该对象。 示例 void CreateBitmap() { System.Drawing.Bitmap flag = new System.Drawing.Bitmap(10, 10); for( int x = 0; x < flag.Height; ++x ) for( int y = ... 阅读全文
posted @ 2007-06-03 22:39 过河卒A 阅读(2469) 评论(1) 推荐(0) 编辑
摘要: 在本演练中,您将创建一个多层的分布式 Intranet 应用程序。此应用程序由三个逻辑层组成:数据层、业务对象层和用户界面层。数据层是 SQL Server 中的数据库。业务对象层处理如何访问数据以及如何将数据分发到客户端。用户界面层由基于 Web 的应用程序和传统的 Windows 应用程序组成。下图描述了此应用程序的结构。 您将创建的分布式应用程序的结构 将要生成的应用程序是具有查找和编辑功... 阅读全文
posted @ 2007-06-03 22:31 过河卒A 阅读(425) 评论(1) 推荐(0) 编辑
摘要: 生成自动化示例 1. 启动记事本。 2. 将以下代码粘贴到记事本。 Press the button to start Excel and display q... 阅读全文
posted @ 2007-06-03 22:28 过河卒A 阅读(567) 评论(0) 推荐(0) 编辑
摘要: 如何:将程序集链接到 Word 或 Excel 文件 包含托管代码扩展的 Microsoft Office 2003 文档需要具有指向它的关联程序集的路径。此路径及程序集名称存储于文档的自定义属性 _AssemblyLocation0 和 _AssemblyName0 中。路径必须具有以下格式之一: 绝对路径 (C:\Assemblies\) 相对路径 (\Asse... 阅读全文
posted @ 2007-06-03 22:25 过河卒A 阅读(2228) 评论(2) 推荐(0) 编辑
摘要: 1.动态添加一行,和删除当前行 2。表格斜线 New Document 张三 李四 王五 数学 55 66 77 英语 99 68 71 语文 33 44 553。可拖动的Table title1 content ... 阅读全文
posted @ 2007-06-03 22:17 过河卒A 阅读(2194) 评论(3) 推荐(0) 编辑
摘要: js用FileSystemObject 对象实现文件控制 一、功能实现核心:File... 阅读全文
posted @ 2007-06-03 15:40 过河卒A 阅读(12570) 评论(2) 推荐(2) 编辑
摘要: WebForm3.aspx 在html 页面中只有这一句哦;不能有任何HTML标签 HTML C# using System;using System.Collections;using System.ComponentModel;using System.Data;using System.Drawing;using System.Web;using System.Web.SessionSt... 阅读全文
posted @ 2007-06-02 12:56 过河卒A 阅读(2249) 评论(1) 推荐(0) 编辑
摘要: 1 2 3 4 5 WebForm1 6 7 8 9 10 11 12 13 14 15 16 17 ... 阅读全文
posted @ 2007-06-01 14:45 过河卒A 阅读(768) 评论(1) 推荐(0) 编辑
摘要: 比如我们在DataGrid外面加了来使DataGrid在一定区域内呈现,这样如果把滚动条拉到底部的时候点击修改(或者修改后点击更新,取消)页面重新加载的时候都会把滚动条拉到页面最上面部分 现在给出一种简单的办法(其他的一些利用锚点等办法都比较复杂) private void Scroll(int index) { string s=""; ... 阅读全文
posted @ 2007-05-31 17:54 过河卒A 阅读(371) 评论(1) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 下一页