摘要:
DataBinder.Eval 它带有三个参数:数据项的命名容器、数据字段名称和格式化字符串。 在模板列表如DataList、DataGrid、或 Repeater,命名容器总是Container.DataItem。 Page 是另一个可以被DataBinder.Eval使用的命名容器。 格式... 阅读全文
摘要:
ASP由于是一种古老的语言,它的一些功能对UTF-8支持非常差。 比如,你想生成一个UTF-8格式的文件,使用常用的 scrīpting.FileSystemObject 对象就不行。 scripting.FileSystemObject 对象创建文件的函数,是下面方式: FileSystemObj... 阅读全文
摘要:
"^\d+$" //非负整数(正整数+0) "^[0-9]*[1-9][0-9]*$" //正整数 "^((-\d+)|(0+))$" //非正整数(负整数+0) "^-[0-9]*[1-9][0-9]*$" //负整数 "^-?\d+$" //整数 "^\d+(\.\d+)?$" //非负浮点数(... 阅读全文