• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
《储备驿站》



                           淡泊以明志,宁静而志远!
博客园    首页    新随笔    联系   管理    订阅  订阅
11 2005 档案
ORACLE函数大全

摘要:SQL中的单记录函数1.ASCII返回与指定的字符对应的十进制数;SQL> select ascii('A') A,ascii('a') a,ascii('0') zero,ascii(' ') space from dual; A A ZERO SPACE--------- --------- --------- --------- 6... 阅读全文
posted @ 2005-11-08 12:47 Dansin
常用的匹配正则表达式和实例

摘要:匹配中文字符的正则表达式: [\u4e00-\u9fa5]匹配双字节字符(包括汉字在内):[^\x00-\xff]应用:计算字符串的长度(一个双字节字符长度计2,ASCII字符计1)String.prototype.len=function(){return this.replace([^\x00-\xff]/g,"aa").length;}匹配空行的正则表达式:\n[\s| ]*\r匹配HTML... 阅读全文
posted @ 2005-11-07 13:03 Dansin 阅读(310) 评论(1) 推荐(0)
c#.net常用函数列表 选择自 elfire 的 Blog

摘要:1、DateTime 数字型 System.DateTime currentTime=new System.DateTime(); 1.1 取当前年月日时分秒 currentTime=System.DateTime.Now; 1.2 取当前年 int 年=currentTime.Year; 1.3 取当前月 int 月=currentTime.Month; 1.4 取当前日 int 日=curre... 阅读全文
posted @ 2005-11-04 12:20 Dansin 阅读(271) 评论(0) 推荐(0)
使用wse(Web Services Enhancements )把服务器端的文件传到客户端

摘要:(转载博客园)比如说,现在站点A有个附件想传给站点B,我们就可以用WSE来传。在服务器端的webservice文件service1.asmx中写入webmethod:这个是取附件的方法:[WebMethod] public void GetAttachment() { // 获取 SoapContext 作为响应消息 SoapContext myContext = HttpSo... 阅读全文
posted @ 2005-11-03 12:42 Dansin 阅读(226) 评论(0) 推荐(0)
数字日期转化为汉字日期格式

摘要:YYYY-MM-DD:中文显示: 阅读全文
posted @ 2005-11-02 12:17 Dansin 阅读(3319) 评论(0) 推荐(0)

博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3