首页 新随笔 订阅 管理

2008年10月15日 #

摘要: 在导入Excel时,会有一个非常有趣的现象,就是数字的识别问题,当Excel中的某一列同时存在纯文本列与纯数字列时,非常有可能出现文本能导入而数字无法导入或者数字能导入而文本无法导入,本人经过多次试验发现,主要在于Excel驱动的问题。 常规情况下,我们以如下方式操作Excel: string conn = " Provider = Microsoft.Jet.OLEDB.4.0 ; Data S... 阅读全文
posted @ 2008-10-15 10:06 justwowo 阅读(2006) 评论(0) 推荐(0)

摘要: GridView 操作汇总 1、自定义列 Customize Cells and Columns in the Windows Forms DataGridView Control by Extending Their Behavior and Appearance Host Controls in Windows Forms DataGridView Cel... 阅读全文
posted @ 2008-10-15 09:23 justwowo 阅读(1835) 评论(0) 推荐(0)