实名认证用户熊川湘 身份证号码430811198506290914

随笔分类 -  C#学习

摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; using System.Refle... 阅读全文
posted @ 2008-12-06 18:51 浪达短信群发 阅读(1041) 评论(0) 推荐(0)
摘要:System; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Collections; using System.Collections.Generic; using System.Data.Common; using System.Xml; namespace co... 阅读全文
posted @ 2008-12-06 18:40 浪达短信群发 阅读(345) 评论(0) 推荐(0)
摘要:using System; using System.Collections; using Excel=Microsoft.Office.Interop.Excel; namespace WindowsApplication1 { /// /// 对Excel进行操作的类。 /// publ... 阅读全文
posted @ 2008-12-06 18:37 浪达短信群发 阅读(1383) 评论(0) 推荐(0)
摘要:在线转换: 地址为: http://www.developerfusion.com/tools/convert/csharp-to-vb/ 阅读全文
posted @ 2008-11-30 11:09 浪达短信群发 阅读(182) 评论(0) 推荐(0)
摘要:刚开始接触c#操作excel可能会不知从哪着手,但或许又急需写一个能实现excel自动化的程序,我把必要的步骤和一些最简单的常用操作写在下面,希望能帮到一些网友。 适用于:windows office 2003,visual c# 2008。其他版本可能需要略作改变。 首先 添加引用,方法:项目->添加引用->选择COM项->Microsoft Excel 11.0 Object Library ... 阅读全文
posted @ 2008-11-29 19:14 浪达短信群发 阅读(423) 评论(0) 推荐(0)
摘要:C#中virtual 与 override 在C#中,如果你在声明一个方法的时候用了virtual这个关键字,那么,在派生类中,你就可以使用override或者new关键字来弃用它或是忽略它.如果你在父类中用了virtual这个关键字,而在其派生类中又没有用override或new关键字,而直接引用一个同名方法的话,编译器将会报错,并将以new方式,即忽略派生类中的方法的方式来运行.下面的例子可... 阅读全文
posted @ 2008-11-25 16:47 浪达短信群发 阅读(261) 评论(0) 推荐(0)