<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_JohnGong的P之路</title><subtitle type="text">从小工到专家,物流信息化在路上~</subtitle><id>http://feed.cnblogs.com/blog/u/32162/rss</id><updated>2012-03-23T03:30:07Z</updated><author><name>小强小工</name><uri>http://www.cnblogs.com/johngong/</uri></author><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/johngong/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/32162/rss"/><entry><id>http://www.cnblogs.com/johngong/archive/2009/12/16/1625652.html</id><title type="text">DataGrid设置中文列名</title><summary type="text">代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--&gt;publicvoidSetGridStyle(DataGridgrid,stringTableName){if(grid==null)return;DataGridTableStylegridStyl...</summary><published>2009-12-16T07:39:00Z</published><updated>2009-12-16T07:39:00Z</updated><author><name>小强小工</name><uri>http://www.cnblogs.com/johngong/</uri></author><link rel="alternate" href="http://www.cnblogs.com/johngong/archive/2009/12/16/1625652.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/johngong/archive/2009/12/16/1625652.html"/><content type="text">代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--&gt;publicvoidSetGridStyle(DataGridgrid,stringTableName){if(grid==null)return;DataGridTableStylegridStyl...</content></entry><entry><id>http://www.cnblogs.com/johngong/archive/2009/10/25/1589481.html</id><title type="text">WinForm窗体生命周期</title><summary type="text">WinForm窗体生命周期1,窗体启动时:Control.HandleCreatedControl.BindingContextChangedForm.LoadControl.VisibleChangedForm.ActivatedForm.Shown2,窗体关闭时:Form.ClosingForm.FormClosingForm.ClosedForm.FormClosedForm.Deactiv...</summary><published>2009-10-25T07:16:00Z</published><updated>2009-10-25T07:16:00Z</updated><author><name>小强小工</name><uri>http://www.cnblogs.com/johngong/</uri></author><link rel="alternate" href="http://www.cnblogs.com/johngong/archive/2009/10/25/1589481.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/johngong/archive/2009/10/25/1589481.html"/><content type="text">WinForm窗体生命周期1,窗体启动时:Control.HandleCreatedControl.BindingContextChangedForm.LoadControl.VisibleChangedForm.ActivatedForm.Shown2,窗体关闭时:Form.ClosingForm.FormClosingForm.ClosedForm.FormClosedForm.Deactiv...</content></entry><entry><id>http://www.cnblogs.com/johngong/archive/2009/10/15/1583719.html</id><title type="text">Oracle格式化函数</title><summary type="text">Oracle格式化函数在写Oracle的时候，经常做一些日期，字符串或者数字的格式化；下面就是我写的一些笔记：格式化函数函数返回类型描述例子to_char(timestamp,text)text把时间戳转换成字串to_char(current_timestamp, 'HH12:MI:SS')to_char(interval,text)text把时间间隔转为字串to_char(interval '1...</summary><published>2009-10-15T02:40:00Z</published><updated>2009-10-15T02:40:00Z</updated><author><name>小强小工</name><uri>http://www.cnblogs.com/johngong/</uri></author><link rel="alternate" href="http://www.cnblogs.com/johngong/archive/2009/10/15/1583719.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/johngong/archive/2009/10/15/1583719.html"/><content type="text">Oracle格式化函数在写Oracle的时候，经常做一些日期，字符串或者数字的格式化；下面就是我写的一些笔记：格式化函数函数返回类型描述例子to_char(timestamp,text)text把时间戳转换成字串to_char(current_timestamp, 'HH12:MI:SS')to_char(interval,text)text把时间间隔转为字串to_char(interval '1...</content></entry><entry><id>http://www.cnblogs.com/johngong/archive/2009/10/15/1583717.html</id><title type="text">ORACLE时间间隔函数</title><summary type="text">ORACLE时间间隔函数2009-05-18 10:31相信很多人都有过统计某些数据的经历，比如，要统计财务的情况，可能要按每年，每季度，每月，甚至每个星期来分别统计。那在oracle中应该怎么来写sql语句呢，这个时候Oracle的日期函数会给我们很多帮助。常用日期型函数 1。Sysdate 当前日期和时间SQL&gt; Select sysdate from dual;SYSDATE-----...</summary><published>2009-10-15T02:39:00Z</published><updated>2009-10-15T02:39:00Z</updated><author><name>小强小工</name><uri>http://www.cnblogs.com/johngong/</uri></author><link rel="alternate" href="http://www.cnblogs.com/johngong/archive/2009/10/15/1583717.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/johngong/archive/2009/10/15/1583717.html"/><content type="text">ORACLE时间间隔函数2009-05-18 10:31相信很多人都有过统计某些数据的经历，比如，要统计财务的情况，可能要按每年，每季度，每月，甚至每个星期来分别统计。那在oracle中应该怎么来写sql语句呢，这个时候Oracle的日期函数会给我们很多帮助。常用日期型函数 1。Sysdate 当前日期和时间SQL&gt; Select sysdate from dual;SYSDATE-----...</content></entry><entry><id>http://www.cnblogs.com/johngong/archive/2009/05/31/1492859.html</id><title type="text">浅谈数据库设计技巧(转)</title><summary type="text">关键字: 数据库设计 说到数据库，我认为不能不先谈数据结构。1996年，在我初入大学学习计算机编程时，当时的老师就告诉我们说：计算机程序＝数据结构＋算法。尽管现在的程序开发已由面向过程为主逐步过渡到面向对象为主，但我还是深深赞同8年前老师的告诉我们的公式：计算机程序＝数据结构＋算法。面向对象的程序开发，要做的第一件事就是，先分析整个程序中需处理的数据，从中提取出抽象模板，以这个抽象模板设计类，再...</summary><published>2009-05-31T05:54:00Z</published><updated>2009-05-31T05:54:00Z</updated><author><name>小强小工</name><uri>http://www.cnblogs.com/johngong/</uri></author><link rel="alternate" href="http://www.cnblogs.com/johngong/archive/2009/05/31/1492859.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/johngong/archive/2009/05/31/1492859.html"/><content type="text">关键字: 数据库设计 说到数据库，我认为不能不先谈数据结构。1996年，在我初入大学学习计算机编程时，当时的老师就告诉我们说：计算机程序＝数据结构＋算法。尽管现在的程序开发已由面向过程为主逐步过渡到面向对象为主，但我还是深深赞同8年前老师的告诉我们的公式：计算机程序＝数据结构＋算法。面向对象的程序开发，要做的第一件事就是，先分析整个程序中需处理的数据，从中提取出抽象模板，以这个抽象模板设计类，再...</content></entry><entry><id>http://www.cnblogs.com/johngong/archive/2009/02/25/1398173.html</id><title type="text">Oracle与SQLServer返回datatable列名大小写</title><summary type="text">开发中使用datatable,列名的大小写是个关键问题比如如下语句:select A.*,s_merd_id from A, A表中字段名在数据库中大写Oracle中,默认返回的datatable列名是大写S_MERD_ID转成了大写Sqlserver中,返回datatable列名与sql语句的写法有关,s_merd_id为小写,其它列名为大写.这里要注意!</summary><published>2009-02-25T12:13:00Z</published><updated>2009-02-25T12:13:00Z</updated><author><name>小强小工</name><uri>http://www.cnblogs.com/johngong/</uri></author><link rel="alternate" href="http://www.cnblogs.com/johngong/archive/2009/02/25/1398173.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/johngong/archive/2009/02/25/1398173.html"/><content type="text">开发中使用datatable,列名的大小写是个关键问题比如如下语句:select A.*,s_merd_id from A, A表中字段名在数据库中大写Oracle中,默认返回的datatable列名是大写S_MERD_ID转成了大写Sqlserver中,返回datatable列名与sql语句的写法有关,s_merd_id为小写,其它列名为大写.这里要注意!</content></entry><entry><id>http://www.cnblogs.com/johngong/archive/2009/02/21/1395411.html</id><title type="text">oracle、sqlserver数据库排序空值null问题解决办法</title><summary type="text">【oracle】：oracle认为 null 最大。升序排列，默认情况下，null值排后面。降序排序，默认情况下，null值排前面。有几种办法改变这种情况：（1）用 nvl 函数或decode 函数 将null转换为一特定值（2）用case语法将null转换为一特定值（oracle9i以后版本支持。和sqlserver类似）：order by (case mycol when null then ...</summary><published>2009-02-21T06:15:00Z</published><updated>2009-02-21T06:15:00Z</updated><author><name>小强小工</name><uri>http://www.cnblogs.com/johngong/</uri></author><link rel="alternate" href="http://www.cnblogs.com/johngong/archive/2009/02/21/1395411.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/johngong/archive/2009/02/21/1395411.html"/><content type="text">【oracle】：oracle认为 null 最大。升序排列，默认情况下，null值排后面。降序排序，默认情况下，null值排前面。有几种办法改变这种情况：（1）用 nvl 函数或decode 函数 将null转换为一特定值（2）用case语法将null转换为一特定值（oracle9i以后版本支持。和sqlserver类似）：order by (case mycol when null then ...</content></entry><entry><id>http://www.cnblogs.com/johngong/archive/2009/02/11/1388233.html</id><title type="text">MS SQL Server中的CONVERT日期格式化大全</title><summary type="text">ONVERT将某种数据类型的表达式显式转换为另一种数据类型。由于某些需求经常用到取日期格式的不同.现以下可在SQL Server中将日期格式化.SQL Server 支持使用科威特算法的阿拉伯样式中的数据格式。在表中，左侧的两列表示将 datetime或 smalldatetime 转换为字符数据的style 值。给 style 值加 ...</summary><published>2009-02-11T07:01:00Z</published><updated>2009-02-11T07:01:00Z</updated><author><name>小强小工</name><uri>http://www.cnblogs.com/johngong/</uri></author><link rel="alternate" href="http://www.cnblogs.com/johngong/archive/2009/02/11/1388233.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/johngong/archive/2009/02/11/1388233.html"/><content type="text">ONVERT将某种数据类型的表达式显式转换为另一种数据类型。由于某些需求经常用到取日期格式的不同.现以下可在SQL Server中将日期格式化.SQL Server 支持使用科威特算法的阿拉伯样式中的数据格式。在表中，左侧的两列表示将 datetime或 smalldatetime 转换为字符数据的style 值。给 style 值加 ...</content></entry><entry><id>http://www.cnblogs.com/johngong/archive/2009/02/05/1384760.html</id><title type="text">.NET开发资源站点和.NET开源项目收集</title><summary type="text">http://www.leoxing.cn/post/20090201-NETe5bc80e58f91e8b584e6ba90e7ab99e782b9e5928cNETe5bc80e6ba90e9a1b9e79baee694b6e99b86.aspx</summary><published>2009-02-05T09:13:00Z</published><updated>2009-02-05T09:13:00Z</updated><author><name>小强小工</name><uri>http://www.cnblogs.com/johngong/</uri></author><link rel="alternate" href="http://www.cnblogs.com/johngong/archive/2009/02/05/1384760.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/johngong/archive/2009/02/05/1384760.html"/><content type="text">http://www.leoxing.cn/post/20090201-NETe5bc80e58f91e8b584e6ba90e7ab99e782b9e5928cNETe5bc80e6ba90e9a1b9e79baee694b6e99b86.aspx</content></entry><entry><id>http://www.cnblogs.com/johngong/archive/2008/11/13/1332963.html</id><title type="text">C#中ToString格式大全</title><summary type="text">C#中ToString格式大全C 货币2.5.ToString("C")￥2.50 D 十进制数25.ToString("D5")00025E 科学型25000.ToString("E")2.500000E+005F 固定点25.ToString("F2")25.00G 常规2.5.ToString("G")2.5N 数字2500000.ToString("N")2,500,000.00X 十六进...</summary><published>2008-11-13T09:11:00Z</published><updated>2008-11-13T09:11:00Z</updated><author><name>小强小工</name><uri>http://www.cnblogs.com/johngong/</uri></author><link rel="alternate" href="http://www.cnblogs.com/johngong/archive/2008/11/13/1332963.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/johngong/archive/2008/11/13/1332963.html"/><content type="text">C#中ToString格式大全C 货币2.5.ToString("C")￥2.50 D 十进制数25.ToString("D5")00025E 科学型25000.ToString("E")2.500000E+005F 固定点25.ToString("F2")25.00G 常规2.5.ToString("G")2.5N 数字2500000.ToString("N")2,500,000.00X 十六进...</content></entry></feed>
