摘要:
http://www.blogjava.net/gf7/archive/2007/03/13/103556.htmlc:\sqlplus /nologSQL>conn / as sysdbaSQL> show parameter processes;NAME TYPE VALUE------------------------------------ ----------- -----... 阅读全文
摘要:
平时用的的确确是少,回来想起来已经忘记了不下3次了,搞得每次都要去网上现找,索性写到博客中作为记录。基本理论: 控件的背景色往往是从父控件继承来的。比如在PictureBox 上面放置一个背景透明的Label,做法可如下: label1.Parent = pictureBox1; //设定Label 的父控件为PictureBox label1.BackColor = Color.Transpar... 阅读全文
摘要:
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]; //先将字符串转化为整数数组(每个数字... 阅读全文
摘要:
////////////////////////aspx<asp:GridView ID="gvData" runat="server" Style="border: 0px; cursor: hand;" AutoGenerateColumns="False" ShowHeader="True" Width="710" onclick="javascript:GoSel(event);" ... 阅读全文
摘要:
===========================aspx<asp:GridView runat="server" ID="grvMobile" AutoGenerateColumns="False" Width="100%" OnRowCancelingEdit="grvMobile_RowCancelingEdit" OnRowDeleting="grvMobile_RowDelet... 阅读全文
摘要:
/// <summary> /// 判断2个几何图形是否相交 /// </summary> /// <param name="oneGeometry"></param> /// <param name="otherGeometry"></param> /// <returns></returns> pu... 阅读全文
摘要:
private void downLoad(string id) { string fileName = Page.Request.PhysicalApplicationPath + "SystemManage\\SysFile\\" + DateTime.Now.ToString("yyyyMMddhhmmss") + ".zip"; OracleConnection conn = null; ... 阅读全文
摘要:
//////////////////////////////////////////oracle部分存储过程create or replace package PACK_PAGE isTYPE type_cur IS REF CURSOR; --定义游标变量用于返回记录集 PROCEDURE PROC_PAGE ( Pindex in number, --分页索引 Psql in varchar2... 阅读全文
摘要:
主要原因是没有释放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... 阅读全文
摘要:
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... 阅读全文