摘要:        
这一个简单的文本框控件主要实现在了IPostBackDataHandler, IEditableTextControl, ItextControl三个接口。IPostBackDataHandler IEditableTextControl主要有事件event EventHandler TextChanged;有ItextControl主要有一个Text属性接口说明:IPostBackDataHan...    
阅读全文
 
        
            posted @ 2006-06-05 11:25
老狐狸
阅读(986)
推荐(0)
        
     
		
    
        
        
摘要:        
Oralce和DB2都支持的语法:UPDATEASET(A1,A2,A3)=(SELECTB1,B2,B3FROMBWHEREA.ID=B.ID)MS SQL Server不支持这样的语法,相对应的写法为:UPDATEASETA1=B1,A2=B2,A3=B3FROMALEFTJOINBONA.ID=B.ID个人感觉MS SQL Server的Update语法功能更为强大。MS SQL SERVE...    
阅读全文
 
    
        
            posted @ 2007-09-03 09:26
老狐狸
阅读(278)
推荐(0)
        
     
		
    
        
        
摘要:        
包头:create or replace package ErrorLog is -- Author : tuil -- Created : 2006-9-18 13:45:53 -- Purpose :  -- Public type declarations TYPE type_cur IS REF CURSOR; procedure InsertLogError(ErrorId in var...    
阅读全文
 
        
            posted @ 2006-10-24 14:49
老狐狸
阅读(232)
推荐(0)
        
     
    
        
        
摘要:        
createorreplacefunctionF_GETTABLELID(strTableNameINVARCHAR2DEFAULTNULL)returnVARCHAR2isResultVARCHAR2(9);StoO_rowcntINTEGER;strIndexNUMBER(9,0);BEGINNULL;BEGINStoO_rowcnt:=0;UPDATESS_TablesIDTSETt.Cur...    
阅读全文
 
        
            posted @ 2006-10-24 14:47
老狐狸
阅读(194)
推荐(0)
        
     
		
    
        
        
摘要:        
请教各位高手。在字符串 str = "i have #a problem# ,#thank you# for help #me,you# are good";我想通过正则表达式或者其他效率比较高的方法求的在# #之间的字符如:(a problem)( thank you) (me,you)谢谢各位大虾啦!    
阅读全文
 
        
            posted @ 2006-08-19 09:04
老狐狸
阅读(189)
推荐(0)
        
     
		
    
        
        
摘要:        
select level, lpad(' ', 2 * level - 1, '--') || t.deptname, t.deptid from lbi_department tstart with t.deptid = 1connect by prior t.deptid = t.parentid    
阅读全文
 
        
            posted @ 2006-08-17 13:39
老狐狸
阅读(169)
推荐(0)
        
     
		
    
        
        
摘要:        
//获得数据网格选中行的行号functionGetSelectRowIndex(){varoGrid=ogrdOpition;if(oGrid==null){alert("对不起,请先选择一条资产信息!");return-1;}if(oGrid.getActiveRow()==null||oGrid.getActiveRow()=='undefined'){alert("对不起,请先选择一条资产信...    
阅读全文
 
        
            posted @ 2006-08-16 16:51
老狐狸
阅读(929)
推荐(0)
        
     
    
        
        
摘要:        
<IFRAMEid="Ifr"frameBorder="no"width="100%"scrolling="no"height="100%"runat="server">更改其 scrdocument.getElementById("Ifr").contentWindow.document.location.replace("BudegeDgrd.aspx?Feetype="+sFee...    
阅读全文
 
        
            posted @ 2006-08-16 16:32
老狐狸
阅读(297)
推荐(0)
        
     
		
    
        
        
摘要:        
SELECTA.OrderSIDasInvId,E.BizInvTypeasTypeCode,E.TypeNameasTypeName,B.SimpleNameasCorpName,C.StorNameasStorName,CASEWHENF_BS001QRYIONOTICE.UnitLevel_='1'THEN-A.TotalDefQty/250WHENF_BS001QRYIONOTICE.Un...    
阅读全文
 
        
            posted @ 2006-07-18 13:19
老狐狸
阅读(2354)
推荐(0)
        
     
		
    
        
        
摘要:        
imp username/password@linkName file=fileName tables=(tableName,tableName)一. 导出工具 exp1. 它是操作系统下一个可执行的文件 存放目录/ORACLE_HOME/bin exp导出工具将数据库中数据备份压缩成一个二进制系统文件.可以在不同OS间迁移  它有三种模式: a. 用户模式: 导出用户所有对象以及对象中的数据; ...    
阅读全文
 
        
            posted @ 2006-07-12 16:54
老狐狸
阅读(357)
推荐(0)
        
     
		
    
        
        
摘要:        
protectedvoidgrid_ItemCreated(objectsender,DataGridItemEventArgse){if(e.Item.ItemType==ListItemType.Header){e.Item.SetRenderMethodDelegate(newRenderMethod(NewRenderMethod));}elseif(e.Item.ItemType==Li...    
阅读全文
 
        
            posted @ 2006-06-27 13:45
老狐狸
阅读(192)
推荐(0)