Azure Lei Zhang的博客

weibo: LeiZhang的微博/QQ: 185165016/QQ群:319036205/邮箱:leizhang1984@outlook.com/TeL:139-161-22926

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2010年10月18日

摘要: http://www.blogjava.net/gf7/archive/2007/03/13/103556.htmlc:\sqlplus /nologSQL>conn / as sysdbaSQL> show parameter processes;NAME TYPE VALUE------------------------------------ ----------- -----... 阅读全文
posted @ 2010-10-18 11:38 Lei Zhang的博客 阅读(1406) 评论(0) 推荐(0) 编辑

2010年10月8日

摘要: 平时用的的确确是少,回来想起来已经忘记了不下3次了,搞得每次都要去网上现找,索性写到博客中作为记录。基本理论: 控件的背景色往往是从父控件继承来的。比如在PictureBox 上面放置一个背景透明的Label,做法可如下: label1.Parent = pictureBox1; //设定Label 的父控件为PictureBox label1.BackColor = Color.Transpar... 阅读全文
posted @ 2010-10-08 16:25 Lei Zhang的博客 阅读(433) 评论(0) 推荐(0) 编辑

2010年9月2日

摘要: public String Multiply(string num1, string num2) { int num1Length = num1.Length; int num2Length = num2.Length; //tranfor the string to int array int[] inum1 = new int[num1Length]; //先将字符串转化为整数数组(每个数字... 阅读全文
posted @ 2010-09-02 21:19 Lei Zhang的博客 阅读(361) 评论(0) 推荐(0) 编辑

2010年8月31日

摘要: ////////////////////////aspx<asp:GridView ID="gvData" runat="server" Style="border: 0px; cursor: hand;" AutoGenerateColumns="False" ShowHeader="True" Width="710" onclick="javascript:GoSel(event);" ... 阅读全文
posted @ 2010-08-31 11:48 Lei Zhang的博客 阅读(779) 评论(0) 推荐(0) 编辑

2010年8月30日

摘要: ===========================aspx<asp:GridView runat="server" ID="grvMobile" AutoGenerateColumns="False" Width="100%" OnRowCancelingEdit="grvMobile_RowCancelingEdit" OnRowDeleting="grvMobile_RowDelet... 阅读全文
posted @ 2010-08-30 17:47 Lei Zhang的博客 阅读(1120) 评论(0) 推荐(0) 编辑

2010年8月19日

摘要: /// <summary> /// 判断2个几何图形是否相交 /// </summary> /// <param name="oneGeometry"></param> /// <param name="otherGeometry"></param> /// <returns></returns> pu... 阅读全文
posted @ 2010-08-19 10:10 Lei Zhang的博客 阅读(2006) 评论(0) 推荐(0) 编辑

2010年8月13日

摘要: private void downLoad(string id) { string fileName = Page.Request.PhysicalApplicationPath + "SystemManage\\SysFile\\" + DateTime.Now.ToString("yyyyMMddhhmmss") + ".zip"; OracleConnection conn = null; ... 阅读全文
posted @ 2010-08-13 14:19 Lei Zhang的博客 阅读(712) 评论(0) 推荐(0) 编辑

2010年8月11日

摘要: //////////////////////////////////////////oracle部分存储过程create or replace package PACK_PAGE isTYPE type_cur IS REF CURSOR; --定义游标变量用于返回记录集 PROCEDURE PROC_PAGE ( Pindex in number, --分页索引 Psql in varchar2... 阅读全文
posted @ 2010-08-11 15:51 Lei Zhang的博客 阅读(1991) 评论(0) 推荐(0) 编辑

2010年7月20日

摘要: 主要原因是没有释放AO资源public class Form1 : System.Windows.Forms.Form{ private ESRI.ArcGIS.esriSystem.IAoInitialize m_AoInitialize = new ESRI.ArcGIS.esriSystem.AoInitializeClass(); private void Form1_Load(objec... 阅读全文
posted @ 2010-07-20 14:46 Lei Zhang的博客 阅读(495) 评论(0) 推荐(0) 编辑

2010年7月1日

摘要: CREATE OR REPLACE VIEW VIEW_PK ASSELECT t.table_name 表名,t.column_name 主键列 FROM User_Cons_Columns t, User_Constraints t2 where t.constraint_name=t2.constraint_name and t.table_name=t2.table_name and t2... 阅读全文
posted @ 2010-07-01 15:20 Lei Zhang的博客 阅读(185) 评论(0) 推荐(0) 编辑