IT
上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 55 下一页
摘要: javascript常规函数包括以下9个函数: (1)alert函数:显示一个警告对话框,包括一个OK按钮。 (2)confirm函数:显示一个确认对话框,包括OK、Cancel按钮。 (3)escape函数:将字符转换成Unicode码。 (4)eval函数:计算表达式的结果。 (5)isNaN函数:测试是(true)否(false)不是一个数字... 阅读全文
posted @ 2008-01-10 23:08 liufei 阅读(174) 评论(0) 推荐(0)
摘要: 每一项都是js中的小技巧,但十分的实用! 1.document.write(""); 输出语句 2.JS中的注释为// 3.传统的HTML文档顺序是:document->html->(head,body) 4.一个浏览器窗口中的DOM顺序是:window->(navigator,screen,history,location,document) 5.得到表单中元素的名称和值:document.g... 阅读全文
posted @ 2008-01-10 15:34 liufei 阅读(233) 评论(0) 推荐(0)
摘要: replace(replace(rs("dname"),chr(13),"")," "," ") 用replace替换掉chr(13)和chr(10)即可。 阅读全文
posted @ 2008-01-05 22:58 liufei 阅读(703) 评论(0) 推荐(0)
摘要: select * from airwayclasslist where ascii('F')<=ascii(classid) and ascii(classid)<=ascii('W') and companycode='MU' 阅读全文
posted @ 2008-01-04 13:50 liufei 阅读(491) 评论(0) 推荐(0)
摘要: http://support.microsoft.com/kb/320112/zh-cn http://support.microsoft.com/kb/256986/ 阅读全文
posted @ 2008-01-02 14:23 liufei 阅读(271) 评论(0) 推荐(0)
摘要: yahoo 标签 Home Software roduct AboutUs ContactUs Supercars for the super-richHome For those who can drop six figures on a car, there's a fresh crop of shiny new 2007 models. &raquo; ... 阅读全文
posted @ 2007-12-27 18:43 liufei 阅读(795) 评论(0) 推荐(0)
摘要: 输入字母转化大写 隐藏表格 this.dpBeginDate.Date = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1); 获取当年的当月的第一天 this.dpBeginDate.Date = DateTime.Now.AddDays(-7);//当前日期减去7天 if(this.dpBeginDate.Date == D... 阅读全文
posted @ 2007-12-26 11:09 liufei 阅读(203) 评论(0) 推荐(0)
摘要: 数学中的实数不仅包括整数,而且包括小数。小数在C#中采用两种数据类型来表示:单精度(float)和双精度(double)。它们的差别在于取值范围和精度不同。计算机对浮点数的运算速度大大低于对整数的运算。在对精度要求不是很高的浮点计算中,我们可以采用float型,而采用double型获得的结果将更为准确。当然,如果在程序中大量使用双精度类浮点数,将会占用更多的内存单元,而且计算机的处理任务也将更加繁... 阅读全文
posted @ 2007-12-21 18:39 liufei 阅读(1880) 评论(0) 推荐(0)
摘要: 表结构: 时间 地名 环境情况 1 北京 优秀 2 北京 良好 3 北京 差 4 天津 良好 5 天津 良好 6 上海 差 要求得到的结果: 地点 优秀 良好 差 北京 1 1 1 天津 2 0 ... 阅读全文
posted @ 2007-12-21 17:52 liufei 阅读(149) 评论(0) 推荐(0)
摘要: SELECT /* * 输出格式: x年x周 * 如:200621 */ Convert(varchar(4),intYear) + /* 先将intYear列转成字符型 */ case when len(intWeek)=1 /* 判断intWeek列的长度是否为1 */ then '0' + Convert(varchar(1),int... 阅读全文
posted @ 2007-12-21 17:47 liufei 阅读(195) 评论(0) 推荐(0)
上一页 1 ··· 44 45 46 47 48 49 50 51 52 ··· 55 下一页