上一页 1 2 3 4 5 6 7 8 ··· 15 下一页
摘要: 首先需要声明的是“语法糖”这个词绝非贬义词,它可以给我带来方便,是一种便捷的写法,编译器会帮我们做转换;而且可以提高开发编码的效率,在性能上也不会带来损失。这让java开发人员羡慕不已,呵呵。1. 经过简化的Property早些时候我们这样声明Propertyprivate string _myNa... 阅读全文
posted @ 2013-07-25 06:32 哲夫 阅读(154) 评论(0) 推荐(0) 编辑
摘要: A B ---------- 1 中1 人 2 三2 天2 李变成:A B-------------------1 中,人2 三,天,李--GROUP_CONCAT()函数用来合并列的内容SELECT A,GROUP_CONCAT(B) FROM TEST GROUP BY A ... 阅读全文
posted @ 2013-06-25 17:02 哲夫 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 数据库为 sqlite3表结构为 tblTask(ID int,TaskName varchar(20),ActionDate datetime)问:sqlite 通过ActionDate 取季度 的 sql怎么写?我这里暂时只知道几个例子:取年份: select * from tblTask wh... 阅读全文
posted @ 2013-04-25 11:21 哲夫 阅读(464) 评论(0) 推荐(0) 编辑
摘要: usingSystem.Windows.Forms;publicclassSynchronizedScrollRichTextBox:System.Windows.Forms.RichTextBox{publicSynchronizedScrollRichTextBoxSynchronized{ge... 阅读全文
posted @ 2013-04-23 13:00 哲夫 阅读(114) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u... 阅读全文
posted @ 2013-03-13 14:09 哲夫 阅读(124) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using MySql.Data.MySqlClient;using System.IO;names... 阅读全文
posted @ 2013-03-08 15:49 哲夫 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 一段服务器端配置文件,一段客户端配置文件,一段下载代码。RemoteXmlFile.xml AnalysisXml.csusing System;using System.Collections.Generic;using System.Linq;using System.... 阅读全文
posted @ 2012-12-28 11:05 哲夫 阅读(152) 评论(0) 推荐(0) 编辑
摘要: WebClient dailyClient = new WebClient(); if (dailyClient.IsBusy) { dailyClient.CancelAsync(); } dailyClient.Uplo... 阅读全文
posted @ 2012-12-23 15:16 哲夫 阅读(185) 评论(0) 推荐(0) 编辑
摘要: //由于日志中含有中文,用常用的Navigate()方法会含有乱码,所以用这种流的方式,一行一行的读。 string fullPath = @"F:\comback\Release\log\20121216.Log"; StringBu... 阅读全文
posted @ 2012-12-18 16:03 哲夫 阅读(153) 评论(0) 推荐(0) 编辑
摘要: //由于日志中含有中文,用常用的LoadFile方法会含有乱码,所以用这种流的方式,一行一行的读。 string fullPath = @"F:\comback\Release\log\20121218.Log"; StringBuilder sb = n... 阅读全文
posted @ 2012-12-18 15:54 哲夫 阅读(194) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 15 下一页