09 2011 档案

摘要:通过串口发送命令 阅读全文
posted @ 2011-09-22 15:17 天纯蓝 阅读(3203) 评论(0) 推荐(0) 编辑
摘要: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) 阅读全文
posted @ 2011-09-07 11:42 天纯蓝 阅读(214) 评论(0) 推荐(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% 阅读全文
posted @ 2011-09-06 14:49 天纯蓝 阅读(604) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2011-09-05 17:14 天纯蓝 阅读(401) 评论(0) 推荐(0) 编辑
摘要:var data = $.ajax({url:"same.php",type:'GET',async:false,cache:false}).responseText;主要是 async 参数 阅读全文
posted @ 2011-09-05 17:05 天纯蓝 阅读(688) 评论(0) 推荐(0) 编辑
摘要:System.IO.Ports.SerialPortcom=newSystem.IO.Ports.SerialPort("com3");com.Open();com.WriteLine("P");com.Close();//是不是很简单 阅读全文
posted @ 2011-09-05 16:55 天纯蓝 阅读(508) 评论(0) 推荐(0) 编辑
摘要://需求引用控件“Interop.SpeechLib.dll”//代码如下:SpVoicem_spVoice=newSpVoice();m_spVoice.Speak("你好",SpeechVoiceSpeakFlags.SVSFlagsAsync);//是不是很简单 阅读全文
posted @ 2011-09-05 16:52 天纯蓝 阅读(484) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示