会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
{Andy Lau}
csdn变得越来越烂,博客园变的越来越好,苍天有眼啊
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
15
下一页
2013年7月25日
C#语法糖(Csharp Syntactic sugar)大汇总 分类: .NET 2013-07-25 06:32 412人阅读 评论(0) 收藏
摘要: 首先需要声明的是“语法糖”这个词绝非贬义词,它可以给我带来方便,是一种便捷的写法,编译器会帮我们做转换;而且可以提高开发编码的效率,在性能上也不会带来损失。这让java开发人员羡慕不已,呵呵。1. 经过简化的Property早些时候我们这样声明Propertyprivate string _myNa...
阅读全文
posted @ 2013-07-25 06:32 哲夫
阅读(160)
评论(0)
推荐(0)
2013年6月25日
SQLite3 一列多行合并为一列一行 分类: 数据库 2013-06-25 17:02 1251人阅读 评论(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 哲夫
阅读(435)
评论(0)
推荐(0)
2013年4月25日
sqlite 取日期的方法:年,季度,月,当月第几周 分类: 数据库 2013-04-25 11:21 567人阅读 评论(0) 收藏
摘要: 数据库为 sqlite3表结构为 tblTask(ID int,TaskName varchar(20),ActionDate datetime)问:sqlite 通过ActionDate 取季度 的 sql怎么写?我这里暂时只知道几个例子:取年份: select * from tblTask wh...
阅读全文
posted @ 2013-04-25 11:21 哲夫
阅读(490)
评论(0)
推荐(0)
2013年4月23日
支持同步滚动的RichTextbox控件 分类: .NET 2013-04-23 13:00 416人阅读 评论(1) 收藏
摘要: usingSystem.Windows.Forms;publicclassSynchronizedScrollRichTextBox:System.Windows.Forms.RichTextBox{publicSynchronizedScrollRichTextBoxSynchronized{ge...
阅读全文
posted @ 2013-04-23 13:00 哲夫
阅读(121)
评论(0)
推荐(0)
2013年3月13日
DataGridView列头checkbox 分类: .NET 2013-03-13 14:09 1343人阅读 评论(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 哲夫
阅读(131)
评论(0)
推荐(0)
2013年3月8日
c#操作MySql.Data.DLL 分类: .NET 2013-03-08 15:49 4177人阅读 评论(2) 收藏
摘要: 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 哲夫
阅读(149)
评论(0)
推荐(0)
2012年12月28日
C# 远程更新 分类: .NET 2012-12-28 11:05 1156人阅读 评论(0) 收藏
摘要: 一段服务器端配置文件,一段客户端配置文件,一段下载代码。RemoteXmlFile.xml AnalysisXml.csusing System;using System.Collections.Generic;using System.Linq;using System....
阅读全文
posted @ 2012-12-28 11:05 哲夫
阅读(164)
评论(0)
推荐(0)
2012年12月23日
c# WebClient上传文件到远程服务器 分类: .NET 2012-12-23 15:16 1627人阅读 评论(0) 收藏
摘要: WebClient dailyClient = new WebClient(); if (dailyClient.IsBusy) { dailyClient.CancelAsync(); } dailyClient.Uplo...
阅读全文
posted @ 2012-12-23 15:16 哲夫
阅读(191)
评论(0)
推荐(0)
2012年12月18日
c# 将日志文件显示在WebBrowser控件中 分类: .NET 2012-12-18 16:03 781人阅读 评论(0) 收藏
摘要: //由于日志中含有中文,用常用的Navigate()方法会含有乱码,所以用这种流的方式,一行一行的读。 string fullPath = @"F:\comback\Release\log\20121216.Log"; StringBu...
阅读全文
posted @ 2012-12-18 16:03 哲夫
阅读(164)
评论(0)
推荐(0)
c# 将日志文件显示在RichTextBox控件里 分类: .NET 2012-12-18 15:54 722人阅读 评论(0) 收藏
摘要: //由于日志中含有中文,用常用的LoadFile方法会含有乱码,所以用这种流的方式,一行一行的读。 string fullPath = @"F:\comback\Release\log\20121218.Log"; StringBuilder sb = n...
阅读全文
posted @ 2012-12-18 15:54 哲夫
阅读(202)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
15
下一页
公告