摘要:
引用腾讯地图js:线路距离:var map, directionsService = new qq.maps.DrivingService({ complete: function (response) { var start = response.detail.start, end ... 阅读全文
摘要:
转:http://bbs.csdn.net/u/20111025/14/7c85279a-fc6e-4672-9aa0-0fd8c1894d0a.html一:UTF8编码函数Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->functionURLEncode(Str){if(Str==null||Str=="")return"";varnewStr="";functiontoCase( 阅读全文
摘要:
转:http://www.cnblogs.com/lgxlsm/archive/2012/09/19/2693209.htmlBeginTrans:开始事务CommitTrans:提交事务RollBackTrans:回滚事务事务具有原子性,要么不执行,要么全执行,一旦成功执行永久保存。下面是个转账的事务应用的例子。1.新建数据库-----------------------------------------------------------------------If Not Exists (Select * From sysobjects Where name='bank' 阅读全文