posted @ 2006-11-08 16:13 孤峰皓月 阅读(1046) 评论(0) 推荐(0)
摘要:
1.使用 Char.IsNumber(),但是这个一般只能判断一个字符,用For 循环也可实现。private bool isNumber(str){foreach(string s in str)//此处的string是否换居char要妥当一点{ if(!Char.IsNumber(s,0)) return false;}return true;} 2.使用try{} catch{}3... 阅读全文
摘要:
前台: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 2 3 4 5 6 7 无标题页 8 910 11 12 Repeater 实现分页、自行绑定数据(不用数据源)13 对Repeater 进行镶... 阅读全文
posted @ 2006-11-03 20:17 孤峰皓月 阅读(296) 评论(0) 推荐(0)
摘要:
PlaceHolder ,他个Panel用法上差 不多,但是他不会产生DIV 这样的HTML代码,你加进去的控件是什么就什么,不会产生额外的HTML 代码.前台: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 2 3 4 5 6 7 无标... 阅读全文
posted @ 2006-11-03 20:00 孤峰皓月 阅读(3098) 评论(0) 推荐(0)
摘要:
Repeater控件是Web 服务器控件中的一个容器控件,它使您可以从页的任何可用数据中创建出自定义列表。Repeater 控件不具备内置的呈现功能,这表示用户必须通过创建模板为 Repeater 控件提供布局。当该页运行时,Repeater 控件依次通过数据源中的记录为每个记录呈现一个项。 他很简单,用起来也不够强大,但是应了那句老话,杀鸡焉用牛刀,不用牛刀那用什么呢?难道我们去把鸡咬死不成?而... 阅读全文
posted @ 2006-11-02 22:36 孤峰皓月 阅读(1092) 评论(2) 推荐(0)
摘要:
asp.net图片上传加水印evpic增强版 图片上传组件,可以按时间生成文件名,加水印图片,水印可以设置透明度,位置,e动力编写。北京联通上海电信辽宁联通河南网通北方电信引用页:http://www.mycodes.net/soft/8636.htmDX TextBox 多功能文章编辑器 v2.0使用说明:1.将 bin/DXControls.dll 文件取出,放于你的项目中的 bin 文件夹里... 阅读全文
posted @ 2006-10-30 22:16 孤峰皓月 阅读(1540) 评论(0) 推荐(0)
摘要:
就是利用FSO显示某个目录下的文件或文件夹时,如何进行排序。比如:按照文件大小排序、文件修改日期排序,或者是按照文件名排序等等。 '假设这是你的文件夹 folderPath = "d:\test" set fso = server.CreateObject("Scripting.FileSystemObject") set myfolder = fso.GetFolder for each... 阅读全文
posted @ 2006-10-28 16:47 孤峰皓月 阅读(672) 评论(0) 推荐(0)
摘要:
前台代码: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 2 3 4 5 6 7 无标题页 8 910 11 12 13 14 DataList 例子15 ... 阅读全文
posted @ 2006-10-27 00:06 孤峰皓月 阅读(647) 评论(0) 推荐(0)
摘要:
转载于:http://www.kehui.net/html/article/26/26000.html我看见网上有人问IComparer接口的使用,于是写了个小例子,和大家一块分享。有不足之处,望不吝指正1、建一个结构雇员的结构private struct Eployee{public string name;public int age;public string sex;}2、新建3个"雇员"... 阅读全文
posted @ 2006-10-25 17:10 孤峰皓月 阅读(6688) 评论(3) 推荐(0)
摘要:
如何使用 DataBinder.Eval(Container.DataItem,"num","{0:p}") 对DataList 进行数据绑定前台页面代码: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 2 3 4 5 6 7 无标题页 ... 阅读全文
posted @ 2006-10-25 00:43 孤峰皓月 阅读(730) 评论(0) 推荐(0)
摘要:
Repearter 不能直接分页,给Repeater 改造分页显示前台页面代码: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 2 3 4 5 6 7 无标题页 8 910 11 12 13 ... 阅读全文
posted @ 2006-10-25 00:40 孤峰皓月 阅读(1746) 评论(1) 推荐(0)
浙公网安备 33010602011771号