摘要: 创建菜单表-- Create tablecreate table B_PERMISSION( PERMISSIONID NUMBER not null, PERMISSIONNAME VARCHAR2(500), PERMISSIONURL VARCHAR2(500), PERMISSIONSORT VARCHAR2(50), PERMISSIONLEFT NUMBER, PERMISSIONRIGHT NUMBER, REMARK CLOB)tablespace YH pctfree 10 initrans 1 maxtrans 255 ... 阅读全文
posted @ 2013-05-03 19:12 Damon201611 阅读(700) 评论(0) 推荐(0) 编辑
摘要: 坐标转换服务坐标转换接口说明将其他坐标系转换到百度坐标系。接口样例如下:http://api.map.baidu.com/ag/coord/convert?from=2&to=4&x=116.254615&y=29.814476参数说明:x/y:经纬度坐标from/to:决定转换效果,具体参数天填充如下:坐标系 参数 WGS-84坐标系(GPS) from=0,to=4 GCJ-02坐标系(谷歌、soso、搜狗) from=2,to=4 51地图坐标系 (需要先将51地图坐标除10000)from=2,to=4 mapbar坐标系 需要先调用后面的转换算法,得到WGS. 阅读全文
posted @ 2013-02-05 17:11 Damon201611 阅读(816) 评论(0) 推荐(0) 编辑
摘要: 今天晚上准备利用database link从远程数据库向本地数据库 INSERT数据时,因远程表中含有CLOB字段,在SELECT 和 INSERT INTO操作时,报"ORA-22992: 无法使用从远程表选择的 LOB 定位器"错误,通过创建临时表并从临时成功把数据插入到目的表中。具体解决办法如下:1.在本地数据库创建临时表: create global temporary table ztb_placard_temp as select * from ztb_bidsegmentplacard@dblinkztb where 1=2 ;2.利用database lin 阅读全文
posted @ 2013-01-09 11:00 Damon201611 阅读(1372) 评论(0) 推荐(0) 编辑
摘要: create or replace trigger tri_sync_zjgcandrysd after insert or update on ztb_new.ZTB_CHECKBIDSEGMENTDETAIL for each rowdeclare -- local variables here vflag number; ---判断标志 jgbm number; ---监管部门ID gg_kssj date; ---公告开始时间 gg_jssj date; ---公告结束时间 bm_dd varchar2(256); ---资审报名地点 zs_kssj d... 阅读全文
posted @ 2012-12-03 22:04 Damon201611 阅读(202) 评论(0) 推荐(0) 编辑
摘要: //获取页面参数function getQueryString(param) { var query = window.location.search; var iLen = param.length; var iStart = query.indexOf(param); if (iStart == -1) return ""; iStart += iLen + 1; var iEnd = query.indexOf("&", iStart); if (iEnd == -1) return query.substring(i... 阅读全文
posted @ 2012-12-03 08:09 Damon201611 阅读(160) 评论(0) 推荐(0) 编辑
摘要: <script Language="JavaScript"> /**//** * */ //------------------ 样式定义 ---------------------------// //功能按钮同样样式 var s_tiannet_turn_base = "height:16px;font-size:9pt;color:white;border:0 solid #CCCCCC;cursor:hand;background-color:#2650A6;"; //翻年、月等的按钮 var s_tiannet_turn = &qu 阅读全文
posted @ 2012-12-03 08:06 Damon201611 阅读(204) 评论(0) 推荐(0) 编辑
摘要: /// 去除HTML标记 public static string NoHTML(string strHtml) { strHtml= Regex.Replace(strHtml, @"<script[^>]*?>.*?</script>", "", RegexOptions.IgnoreCase); strHtml= Regex.Replace(strHtml, @"<(.[^>]*)>", "", RegexOptions.IgnoreCase); strHtml 阅读全文
posted @ 2012-12-03 07:48 Damon201611 阅读(165) 评论(0) 推荐(0) 编辑
摘要: /**打开模态窗口*url 链接地址*width 长度*height 高度*/function openDiaWin(url, width, height) { var x = parseInt(screen.width / 2.0) - (width / 2.0); var y = parseInt(screen.height / 2.0) - (height / 2.0); var isMSIE = (navigator.appName == "Microsoft Internet Explorer"); //判断浏览器 url = url.indexOf(" 阅读全文
posted @ 2012-12-03 07:45 Damon201611 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 前台代码:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ListView.aspx.cs" Inherits="ListView" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><ht 阅读全文
posted @ 2012-01-06 15:45 Damon201611 阅读(837) 评论(0) 推荐(0) 编辑
摘要: #region 文件上传函数 /// <summary> /// 文件上传函数 /// </summary> /// <param name="_savePath">虚拟路径 如../userFiles/</param> /// <returns></returns> public static List<string> UploadFile(string _savePath, FileUpload FileUpload1) { List<string> resul... 阅读全文
posted @ 2012-01-04 14:27 Damon201611 阅读(240) 评论(0) 推荐(0) 编辑