09 2011 档案
摘要:DECLAREsvarchar2(50);nnumber;clvarchar(50);inumber;tmpvarchar(50);tmpcountnumber;tmpflagnumber;begincl:='abcdefgh';s:='a,b,c,d';n:=(LENGTH(s)+1)/2;tmpcount:=0;dbms_output.put_line(n);foriin1..nlooptmp:=substr(s,instr(s,',',1,i)-1,1);tmpflag:=instr(cl,tmp,1,1);IF(tmpflag>0)
阅读全文
摘要:@echo offset dt=%date:~0,4%%date:~5,2%%date:~8,2%set h=%time:~0,2%if /i %h% LSS 10 (set h=0%time:~1,1%)set t=%h%%time:~3,2%%time:~6,2%exp orcluser/123456 owner=orcluser file=E:/orclbak/%dt%%t%.dmp log=D:/orclbaklog/%dt%%t%.log"C:\Program Files\WinRAR\WinRAR.exe" a -ep E:/orclbakrar/%dt%%t%
阅读全文
摘要:POST提交前的验证: formcheck= new FormCheck('formular',{onSubmit:onsubmitfun}); onSubmit:onsubmitfun提交前的验证function方法 formcheck.options.submit=false时就不提交了自定义验证function方法: <input type="text" name="custom" class="validate['required','%customCheck"> valid
阅读全文
摘要:var data = $.ajax({url:"same.php",type:'GET',async:false,cache:false}).responseText;主要是 async 参数
阅读全文
摘要:System.IO.Ports.SerialPortcom=newSystem.IO.Ports.SerialPort("com3");com.Open();com.WriteLine("P");com.Close();//是不是很简单
阅读全文
摘要://需求引用控件“Interop.SpeechLib.dll”//代码如下:SpVoicem_spVoice=newSpVoice();m_spVoice.Speak("你好",SpeechVoiceSpeakFlags.SVSFlagsAsync);//是不是很简单
阅读全文