2007年10月9日

摘要: 在最近的一个项目中,有一个上传功能:上传一个cvs文件,然后解析此文件并写入数据库 由于经常需要传很大的文件,客户完成此功能往往需要40分钟,在这个过程中,页面也没有任何提示,用户体验非常不好? 为何不用ajax作一个进度条呢? 分两步完成此需求: 一:写一个简单的ajax,实现最简单的进度条功能。 二:把此进度条改造为项目可用的进度条。 一:最简单的进度条 1。客户端每2秒发送一个createX... 阅读全文

posted @ 2007-10-09 12:56 Flying to the top 阅读(615) 评论(0) 推荐(0)

摘要: 1.建立一个aspx页面 html代码 小山 ... 阅读全文

posted @ 2007-10-09 12:55 Flying to the top 阅读(191) 评论(0) 推荐(0)

摘要: // 返回XML的Web 请求 function OnSucceededXml(executor, eventArgs) ...{ if (executor.get_responseAvailable()) ...{ if (document.all) resultElementId.innerText += exec... 阅读全文

posted @ 2007-10-09 12:54 Flying to the top 阅读(164) 评论(0) 推荐(0)

摘要: 1.建立一个aspx页面 html代码 小山 ... 阅读全文

posted @ 2007-10-09 12:53 Flying to the top 阅读(188) 评论(0) 推荐(0)

摘要: 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 取当前... 阅读全文

posted @ 2007-10-09 12:49 Flying to the top 阅读(271) 评论(0) 推荐(0)


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