摘要:
CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Text;using System.Collections; /** * 某... 阅读全文
摘要:
CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Text;/*八皇后问题: 八个皇后在排列时不能同在一行、一列或一条斜线上。在... 阅读全文
摘要:
CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Text;namespace ExArrange{ class Arrang... 阅读全文
摘要:
CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Text;namespace ExFactorial{ class Fa... 阅读全文
摘要:
CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Security.Cryptography;using System.Text;using System.IO;namespace Common... 阅读全文
摘要:
CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Text;/*歌德巴赫猜想:任何一个大于6的偶数都可以写为两个素数之和*/na... 阅读全文
摘要:
CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//猴子选大王问题: 一堆猴子都有编号,编号是1,2,3 m ,这群猴子(m个)按照1到m的顺序围坐一圈,//从第1开始数,每数到第n个,该猴子就要离开此圈,这样依次下来,直到圈中只剩下最后一只猴... 阅读全文
摘要:
CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;public class MatrixMultiply{ public static void Main() { // 声明一个2行3列的两维数... 阅读全文
摘要:
CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Text;namespace ExMinGongBeiShu{ clas... 阅读全文
摘要:
CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;public class T{ int[] can = new int[4]; public T(int a, int b, int c, int d) ... 阅读全文
摘要:
代码: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Text;namespace ConsoleApplication... 阅读全文
摘要:
算法列表: 1.冒泡,插入,选择,希尔排序. 2.1的1到n的n次方. 3.4个10以内的数字,通过四则运算得到24 4.6个嫌疑犯 5.8皇后 6.Cnr全排列 7.n! 8.str1中含有几个str2 9.哥德巴赫猜想 10.猴子选大王问题 11.矩阵乘积 12.两个数最小公倍数 13.判断完数 14.亲密数对的查找 15.求一个数最大公约数 16.生成不重复数. 17.输出1到100中的偶数... 阅读全文
摘要:
代码: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 无标题页 0 ... 阅读全文
摘要:
代码: test.htm文件: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> calendar.js文件: CodeCode highlighting produced by Actipro CodeHighlighter (f... 阅读全文
摘要:
代码: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Data;using System.Configuration;using System.Web;using System.Web.... 阅读全文
摘要:
实现内容: 1.通过DropDownList控件DataSource属性绑定数据源, 2.通过Items.Add给DropDownList添加项, 3.遍历若干有规律的DropDownList控件,给每个DropDownList添加相同的项。 代码: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http... 阅读全文
摘要:
例子内容: 1.Literal的Mode属性的三种形式介绍:PassThrough,Encode,Transform. PassThrough:未修改控件的内容。 Encode:控件的内容转换为 HTML 编码的字符串。Transform:从控件的内容中移除不受支持的标记语言元素。如果 Literal 控件在支持 HTML 或 XHTML 的浏览器上呈现, 则不会修改该控件的内容。 代码: C... 阅读全文
摘要:
实现内容: 1.ListBox节点动态增加; 2.显示ListBox中选中的节点; CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Using the ListBox ... 阅读全文
摘要:
本例子有一下内容:1.button触发客户端事件,服务器端事件,客户端事件在服务器端事件之前执行。2.删除操作之前的确认对话框。3.一个简单的html控件:按钮控件input点击后的提示。4.鼠标移动到button按钮之上,以及移走后button的Text显示内容的改变。5.button的两个有意思的属性OnCommand属性,CommandName属性OnCommand="",保存button触... 阅读全文