主要是要找到excel進(jìn)程對(duì)應(yīng)的進(jìn)程號(hào),然后通過
System.Diagnostics.Process p = System.Diagnostics.Process.GetProcessById(k);
p.Kill();
把進(jìn)程殺死。
你上面所寫的代碼中并沒有打開excel文件吧
someone,你的意思我明白了。
p.setDate(1,formater.parse("2006-10-17"));
p.setDate(2,formater.parse("2006-10-16"));
思維不錯(cuò),受教了。
@someone
@123bingbing
@有貓相伴的日子
使用like效率確實(shí)很低。不過很多時(shí)候模糊查詢需要用到它
你的意見是正確的,
問題是該如何實(shí)現(xiàn)呢?能給個(gè)具體的例子么?
你的想法我也考慮過,但是沒找到好的實(shí)現(xiàn)方法。
你給個(gè)例子吧,讓大家都學(xué)習(xí)學(xué)習(xí)
@someone
re: 謝謝你讓我愛過你 陳琪 2006-09-18 00:25
轉(zhuǎn)的詩,寫得不錯(cuò)。
一直到現(xiàn)在我才懂
就算舍不得也不能回頭
誰能懂,不懂也會(huì)懂,或許吧,舍不得也不能回頭。
這段時(shí)間自己的感情確實(shí)是控制不住,情感的饑荒,哈哈。
一個(gè)正常的生理“發(fā)情期”。。。
第一段
public class LazySingleton {
private static LazySingleton m_instance = null ;
private LazySingleton(){};
synchronized public static LazySingleton getInstance(){
if(m_instance!=null)
m_instance=new LazySingleton();
return m_instance;
}
這個(gè)代碼是不是寫錯(cuò)了?
if(m_instance!=null)
m_instance=new LazySingleton();
是不是應(yīng)該為
if(m_instance==null)
m_instance=new LazySingleton();
看了你的文章,讓我對(duì)jfreechart更了解了,確實(shí)是入門的知識(shí)