gdjlc

培养良好的习惯,每天一点一滴的进步,终将会有收获。

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 37 下一页

2011年4月17日

摘要: 闲来无事,利用WinForm做了个查看SQL Server所有数据库表信息的小工具。总结一下:1、只允许运行应用程序的一个实例..... 阅读全文
posted @ 2011-04-17 23:51 gdjlc 阅读(1728) 评论(2) 推荐(1) 编辑

2011年3月29日

摘要: 反编译工具ILSpy、LINQ学习工具LINQPad等。。。。。。 阅读全文
posted @ 2011-03-29 16:27 gdjlc 阅读(461) 评论(0) 推荐(0) 编辑

2011年3月21日

摘要: 平时用系统自带的记事本记录日常消费,简单快捷但是缺少统计功能,不清楚每个月花费多少,于是写个程序统计一下。 阅读全文
posted @ 2011-03-21 21:45 gdjlc 阅读(471) 评论(0) 推荐(0) 编辑

2011年3月7日

摘要: DrawStat.ashxusing System; using System.Web; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using OWC11 = Microsoft.Office.Interop.Owc11; //引用com组件:Micorsoft Office Web Components 11.0 /// /// DrawStat 的摘要说明 /// public class DrawStat : IHttpHandler { public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; int chartType = 0; 阅读全文
posted @ 2011-03-07 10:04 gdjlc 阅读(438) 评论(0) 推荐(0) 编辑

2011年3月4日

摘要: Microsoft.Office.Interop.Owc11.ChartSpace objchartspace = new Microsoft.Office.Interop.Owc11.ChartSpaceClass();在vs2008中正常,但在vs2010中出错:错误 14 类型“Microsoft.Office.Interop.Owc11.ChartSpaceClass”未定义构造函数错误 15 无法嵌入互操作类型“Microsoft.Office.Interop.Owc11.ChartSpaceClass”。请改用适用的接口。解决方法:选择“引用”文件夹中引入的dll:OWC11,鼠标 阅读全文
posted @ 2011-03-04 15:25 gdjlc 阅读(887) 评论(0) 推荐(0) 编辑

2011年3月2日

摘要: 来源:http://damieng.com/blog/2009/11/06/multiple-outputs-from-t4-made-easy-revisited My multiple outputs from t4 made easy post contained a class making it easy to produce multiple files from Visual Studio’s text templating engine (T4). While useful it had a few issues: Getting start/end blocks mixed up resulted in unpredictable behaviour Files were rewritten even when content did not change Did not play well with source control Files not always deleted in VS Faile 阅读全文
posted @ 2011-03-02 22:30 gdjlc 阅读(551) 评论(0) 推荐(0) 编辑

2011年3月1日

摘要: SQL Server 2008打开存储过程列表时提示:请参阅“对象资源管理器详细信息”了解此文件夹中的对象 阅读全文
posted @ 2011-03-01 10:25 gdjlc 阅读(9200) 评论(2) 推荐(1) 编辑

2011年2月24日

摘要: 有时候需要执行一些Sql语句时,不想开企业管理器,或者是发给客户执行但那边又不懂代码,这时就可以用下面方法: 1、把待执行Sql保存在一个文件,这里为20110224.sql。 2、新建一个扩展名.bat的批处理文件,输入下面命令并保存后,双击.bat文件,系统会自动执行20110224.sql的语句: osql -S gdjlc -d TestDB -U sa -P 1 -i 20110224.sql osql参数见下面 阅读全文
posted @ 2011-02-24 10:12 gdjlc 阅读(4846) 评论(0) 推荐(0) 编辑

2011年2月18日

摘要: 建立ODBC数据源,在Powerdesigner中选择Database菜单下的Reverse Engineer Database,弹出Database Reverse Engineering对话框,选Using an ODBC data source选择刚才创建的ODBC数据源,点击确定后,显示此数据库中所有表、视图、用户。根据需要选择后,转换成pdm。 阅读全文
posted @ 2011-02-18 09:44 gdjlc 阅读(7230) 评论(0) 推荐(0) 编辑

2011年1月30日

摘要: Repeater绑定Dictionary... 阅读全文
posted @ 2011-01-30 14:54 gdjlc 阅读(991) 评论(0) 推荐(0) 编辑

上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 37 下一页