
C#控件编程
文章平均质量分 79
zrchao
每天都在进步.........
展开
-
C#常用函数表
C#常用函数表1、DateTime 数字型System.DateTime currentTime=new System.DateTime();1.1 取当前年月日时分秒currentTime=System.DateTime.Now;1.2 取当前年int 年=currentTime.Year;1.3 取当前月int 月=currentTime.Month;1.4 取当前日int 日=curr转载 2009-08-05 08:48:00 · 1811 阅读 · 0 评论 -
Openxml和XML读写整理篇
一个很好的网站和几个常用的例子。http://openxmldeveloper.org/default.aspxhttp://openxmldeveloper.org/articles/GenerateWordTable.aspxhttp://openxmldeveloper.org/articles/LearningOnline.aspxhttp://openxmldeveloper.org原创 2009-08-04 15:20:00 · 4036 阅读 · 0 评论 -
Openxml
最近在学习创建word的一些方法,发现了Openxml,便做了一些尝试。如创建指定格式的页眉页脚,添加表格等。仅为简单尝试,代码可能不够规范,后面做项目要用它时,再细细考究吧。 一、简单创建word文档using System;using System.Collections.Generic;using System.Linq;using System原创 2009-08-04 15:30:00 · 2630 阅读 · 0 评论 -
Microsoft.Office.Interop.Word 创建word
搜集了Microsoft.Office.Interop.Word生产word的一些方法,想整理编写了一些类库用于自动创建word文档的。先将现有的劳动成功放在这里。有时间在加以完善! 一、添加页眉using System;using System.Collections.Generic;using System.ComponentModel;using原创 2009-08-04 15:44:00 · 14545 阅读 · 6 评论 -
MSChart
微软新发布的图表控件MSChart,依赖于Framework3.5 sp1的环境,从制作出的效果来看,非常漂亮。最近花时间研究了下,算是好用的,功能也很强大,建议大家可以试试。不过缺点也比较明显,只能在最新的开发环境中使用,需要.Net 3.5 Sp1以及VS2008的开发环境。控件下载:Microsoft .NET Framework 3.5 的 Microsoft 图表控件(Mi转载 2009-08-04 15:53:00 · 2512 阅读 · 2 评论 -
UltraWebGrid
最近做项目用到UltraWebGrid,发现功能蛮强大的,把搜集到得和用到的一些功能做下总结了,放在这里吧。 一、 一些基本应用 1. UltraWebGrid添加模板列: 先选择UltraWebGrid --属性--columns--勾选Templated column 即可原创 2009-08-04 15:57:00 · 2800 阅读 · 0 评论 -
c#的一些技巧
说不定这些问题就会在说不定的地方碰到,遇到问题不怕,怕的是要花多长时间去解决.....要学会总结跟收藏! 1.怎样定制VC#DataGrid列标题? DataGridTableStyle dgts = new DataGridTableStyle(); dgts.MappingName = "myTable"; //myTable为要载入数据的DataTable DataGridTextB转载 2009-08-05 15:33:00 · 700 阅读 · 0 评论