摘要: 视觉效果: 代码: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> ... 阅读全文
posted @ 2009-01-12 19:31 jianlinglo 阅读(267) 评论(0) 推荐(1) 编辑
摘要: 第1个上传方法说明: 1.未选择文件,或者选择的是txt空文件,则上传失败, 2.可上传图片,txt,word格式文件。rar文件失败。 第2个: 使用扩展的input type="file"控件来实现这个功能,它的Accept属性来保证上传文件的文件类型。 代码: CodeCode highlighting produced by Actipro CodeHighlighter (freewar... 阅读全文
posted @ 2009-01-12 19:25 jianlinglo 阅读(190) 评论(0) 推荐(0) 编辑
摘要: HiddenField控件的作用简单的说是用于存储需要在向服务器的发送间保持的值。因为 HiddenField 的值将呈现给客户端浏览器,所以它不适用于存储安全敏感的值。若要为 HiddenField 控件指定值,请使用 Value 属性,请注意是Value而不是Text。事实上HiddenField并没有Text属性,这和DropDownList、CheckBoxList等标准按钮的属性命名方式... 阅读全文
posted @ 2009-01-12 19:16 jianlinglo 阅读(228) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Table First Name Last Name ... 阅读全文
posted @ 2009-01-12 19:11 jianlinglo 阅读(201) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Text;namespace ExSum{ class Sum {... 阅读全文
posted @ 2009-01-12 19:01 jianlinglo 阅读(252) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Text;using System.Collections; /** * 某... 阅读全文
posted @ 2009-01-12 19:00 jianlinglo 阅读(195) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Text;/*八皇后问题: 八个皇后在排列时不能同在一行、一列或一条斜线上。在... 阅读全文
posted @ 2009-01-12 18:59 jianlinglo 阅读(132) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Text;namespace ExArrange{ class Arrang... 阅读全文
posted @ 2009-01-12 18:59 jianlinglo 阅读(588) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Text;namespace ExFactorial{ class Fa... 阅读全文
posted @ 2009-01-12 18:58 jianlinglo 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2009-01-12 18:57 jianlinglo 阅读(127) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Text;/*歌德巴赫猜想:任何一个大于6的偶数都可以写为两个素数之和*/na... 阅读全文
posted @ 2009-01-12 18:56 jianlinglo 阅读(114) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//猴子选大王问题: 一堆猴子都有编号,编号是1,2,3 m ,这群猴子(m个)按照1到m的顺序围坐一圈,//从第1开始数,每数到第n个,该猴子就要离开此圈,这样依次下来,直到圈中只剩下最后一只猴... 阅读全文
posted @ 2009-01-12 18:56 jianlinglo 阅读(145) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;public class MatrixMultiply{ public static void Main() { // 声明一个2行3列的两维数... 阅读全文
posted @ 2009-01-12 18:55 jianlinglo 阅读(275) 评论(0) 推荐(0) 编辑
摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Text;namespace ExMinGongBeiShu{ clas... 阅读全文
posted @ 2009-01-12 18:54 jianlinglo 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 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) ... 阅读全文
posted @ 2009-01-12 18:53 jianlinglo 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 代码: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System;using System.Collections.Generic;using System.Text;namespace ConsoleApplication... 阅读全文
posted @ 2009-01-12 18:51 jianlinglo 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 算法列表: 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中的偶数... 阅读全文
posted @ 2009-01-12 18:50 jianlinglo 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 代码: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 无标题页 0 ... 阅读全文
posted @ 2009-01-12 18:36 jianlinglo 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 代码: test.htm文件: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> calendar.js文件: CodeCode highlighting produced by Actipro CodeHighlighter (f... 阅读全文
posted @ 2009-01-12 18:31 jianlinglo 阅读(1357) 评论(0) 推荐(0) 编辑
摘要: 代码: 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.... 阅读全文
posted @ 2009-01-12 18:24 jianlinglo 阅读(163) 评论(0) 推荐(0) 编辑