IT
摘要: *******************************************************名称:地图接口http://api.51ditu.com/docs/info.html#info3 描述:提供地图接口功能*******************************************************名称:unix中文站点地址:http://www.chin... 阅读全文
posted @ 2009-07-14 17:29 liufei 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 微软英文网站:http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/daab-rm.asp微软社区:http://www.microsoft.com/china/community/TechZone/TechArticle/articlelist.asp帮助论坛:http://www.myf1.net... 阅读全文
posted @ 2009-07-14 17:28 liufei 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 这次把我写的一个分页控件贴上来。前阵子写了一个winform的数据库管理程序,用一个dataGrid显示数据库表中的所有内容,后来发现当数据库中的条目增多的时候,程序运行速度明显下降,系统占用内存也很大,决定对dataGrid做个分页,每次只取出要显示页的内容。上网搜了一下,没有找到我需要的,于是自己写了一个分页控件。程序很简单,用的时候需要提供pageCount(页数),pageShow(显示的... 阅读全文
posted @ 2009-07-14 17:26 liufei 阅读(607) 评论(0) 推荐(0) 编辑
摘要: 对话框中我们常用了以下几种:1、文件对话框(FileDialog) 它又常用到两个:   打开文件对话框(OpenFileDialog)   保存文件对话(SaveFileDialog)2、字体对话框(FontDialog)3、颜色对话框(ColorDialog)4、打印预浏对话框(PrintPreviewDialog)5、页面设置(PrintDialog)6、打印对话框(PrintDialog)... 阅读全文
posted @ 2009-07-14 17:24 liufei 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 整理完成了 C# WinForm开发系列 - Report 收藏文章, 原打算直接在我原先发的 [分享]C# WinForm开发系列文章 帖子上回复的, 但好像大家都没有看回复的习惯, 自己又没有权限修改帖子, 这次又要麻烦阿泰版主帮我完善链接了, 实际上在我的博客文章中是有实时更新链接的, 点击阅读原文 收集一些在WinForm, Asp.Net下报表应用开发文章, 包括RDLC,Excel,P... 阅读全文
posted @ 2009-07-14 17:11 liufei 阅读(821) 评论(0) 推荐(0) 编辑
摘要: --SQL SERVER 15位身份证号转18位身份证CREATE FUNCTION ID15TO18 (@id15 char(15)) RETURNS CHAR(18) AS BEGIN DECLARE @ID18 CHAR(18),@S18 bigint SET @S18 = ( (SUBSTRING(@ID15,1,1)*7) + (SUBSTRING(@ID15,2,1)*9) + (... 阅读全文
posted @ 2009-07-14 16:05 liufei 阅读(479) 评论(0) 推荐(0) 编辑
摘要: 1.FCKeditor 编辑器 FCKeditor is compatible with most internet browsers which include: IE 5.5+ (Windows), Firefox 1.0+, Mozilla 1.3+ and Netscape 7+. 最新版本:FCKeditor 2.0 语言环境:多国语言特性功能:所见所得,支持平台众多,支持XHTML 1... 阅读全文
posted @ 2009-07-14 16:01 liufei 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 实验室写程序发现的一些SQL技巧总结一下:1.select count(*) as Num,supplier_city from supplierwhere supplier_city is not null group by supplier_city order by Num desc按城市数目多少统计2.select company_street from company where len... 阅读全文
posted @ 2009-07-14 15:47 liufei 阅读(166) 评论(0) 推荐(0) 编辑
摘要: C#解压缩字符串(代码)的两种方法需要第一中是使用.NET本身的类库,第二种方法使用第三方组件 ICSharpCode.SharpZipLib.dll(参考:http://www.cnblogs.com/kevinxtq/articles/454814.html)代码详细列表:using System;using System.IO;using System.IO.Compression;usin... 阅读全文
posted @ 2009-07-14 15:46 liufei 阅读(817) 评论(0) 推荐(0) 编辑
摘要: 1.查询表的所有列select name from syscolumnswhere syscolumns.id =(select id from sysobjects where sysobjects.name='Exhibition')2.查询数据库中所有表select name from [sysobjects] where xtype='U'(注:针对SQL SERVER 2000) 阅读全文
posted @ 2009-07-14 15:45 liufei 阅读(145) 评论(0) 推荐(0) 编辑
摘要: if (MessageBox.Show("没有符合此条件的公司,确定继续按其他条件查询 ,取消处理下一展会? ","Null Value",MessageBoxButtons.OKCancel) == DialogResult.Cancel){//CODE HERE} 阅读全文
posted @ 2009-07-14 15:45 liufei 阅读(250) 评论(0) 推荐(0) 编辑