摘要: C# GridView 排序及分页 如果你在GridView控件上设置 AllowPaging="true" or AllowSorting="true" 而没有使用使用数据源控件 DataSource (i.e. SqlDataSource, ObjectDataSource),运行则会出现下列错误:当你在GridView控件上单击下一页时:The GridView 'GridViewID' f... 阅读全文
posted @ 2006-12-10 17:19 My name is chenyu 阅读(6577) 评论(5) 推荐(0) 编辑
摘要: ASP.NET provides a configuration system we can use to keep our applications flexible at runtime. In this article we will examine some tips and best practices for using the configuration system for t... 阅读全文
posted @ 2006-12-10 16:59 My name is chenyu 阅读(659) 评论(0) 推荐(0) 编辑
摘要: 算法 什么是程序?程序= 数据结构+ 算法。 对于面向对象程序设计,强调的是数据结构,而对于面向过程的程序设计语言如C、P a s c a l、F O RT R A N等语言,主要关注的是算法。掌握算法,也是为面向对象程序设计打下一个扎实的基础。那么,什么是算法呢? 人们使用计算机,就是要利用计算机处理各种不同的问题,而要做到这一点,人们就必须事先对各类问题进行分析,确定解决问题的具体方... 阅读全文
posted @ 2006-12-10 15:38 My name is chenyu 阅读(808) 评论(0) 推荐(0) 编辑
摘要: 各种排序算法java实现 插入排序: package org.rut.util.algorithm.support; import org.rut.util.algorithm.SortUtil;/** * @author treeroot * @since 2006-2-2 * @version 1.0 */public clas... 阅读全文
posted @ 2006-12-10 15:33 My name is chenyu 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 1. 贪吃蛇游戏(含C源码) 下载链接: http://www.cnitblog.com/Files/ChengKing/贪吃蛇(C).rar 2. 拳击游戏(含C源码) ... 阅读全文
posted @ 2006-12-10 15:29 My name is chenyu 阅读(1419) 评论(1) 推荐(0) 编辑
摘要: java版本的冒泡算法 /** 文件名:MaoPao.java 描述: java版本的冒泡算法 作者:慈勤强 Email:cqq1978@Gmail.com **/ class MaoPao { public static void test1() //最普通的冒泡算法,需要比较(n-1)*(n-1)次 { int[] i... 阅读全文
posted @ 2006-12-10 15:24 My name is chenyu 阅读(182) 评论(0) 推荐(0) 编辑