2008年7月8日
摘要: #region 【四舍五入】函数 /// /// 四舍五入函数 /// /// 要转化的数 /// 小数位数 /// 转化后的数 private double RoundNew(string value, int decimals) { double dValue; if (value == "" ... 阅读全文
posted @ 2008-07-08 14:23 Stym--闫生 阅读(716) 评论(0) 推荐(0) 编辑
摘要: 一:导出数据 命令:bcp 案例: bcp "select * from [YLED].[dbo].[MST_エラーメッセージ] where (画面ID = 'CMG221') OR (画面ID = 'CMG222')" queryout D:\message.sql -c -S192.168.100.3 -Usa -P123456 注释: a)."select * from [YLED].[... 阅读全文
posted @ 2008-07-08 14:15 Stym--闫生 阅读(809) 评论(0) 推荐(0) 编辑
摘要: public String HtmlEncode(String txt) { txt = replace(txt, "&", "&"); txt = replace(txt, "\"", """); txt = replace(txt, "", ">"); txt = replace(txt, ... 阅读全文
posted @ 2008-07-08 14:00 Stym--闫生 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 经常使用的js来刷新页面的方式有: a). window.location.reload() b). window.history.go(0) c). document.execCommand('Refresh') 阅读全文
posted @ 2008-07-08 13:55 Stym--闫生 阅读(192) 评论(0) 推荐(0) 编辑
摘要: /*---------------移动用户数据库-----------------------*/ --=============detach和attach的使用============-- -- 打印该数据库的位置和一些详细的信息 --use JP_YLED --go --sp_helpfile --go -- 分离数据库 -- use master -- go -- sp_detac... 阅读全文
posted @ 2008-07-08 11:32 Stym--闫生 阅读(594) 评论(0) 推荐(0) 编辑