常用正则

摘要: 月份:1 2 3 4 …10 11 12^([1-9]|[1][0-2])$日期:1 2 3 ...9...10 11 ...19 20 ....29 30 31^([1-9]|[1-2][0-9]|[3][0-1])$时间:0:00…9:59…23:59^([0-9]|[1][0-9]|[2][0-3]):([0-5][0-9])$ 阅读全文
posted @ 2013-08-26 12:53 z1971 阅读(109) 评论(0) 推荐(0) 编辑

(转)Export .NET MSChart to Excel/PDF Using Report Viewer 2010

摘要: Export .NET MSChart to Excel/PDF Using Report Viewer 2010Bysantosh poojari,2 Oct 20114.67(3 votes)Download source - 145.33 KBTable of ContentsOverviewCase Study/Problem StatementSolution StatementPrerequisitesHow to get started?Few Twists and Turns (Tips and Tricks)ConclusionOverviewThe business req 阅读全文
posted @ 2013-06-13 10:33 z1971 阅读(380) 评论(0) 推荐(0) 编辑

(转)Combining ReportViewer and MS Charts

摘要: 因为用了Microsoft chart controls画了一个特殊图形,想把它与数据用reportviewer呈现输出,想法是chart 的图转到内存图像后插入rdlc。此文思路视乎一致,故转如下:Reporting - Combining ReportViewer and MS ChartsMay 20, 2009IntroductionThere is often a requirement in business applications to display charts to analyze data and create reports to document and distr 阅读全文
posted @ 2013-06-13 10:23 z1971 阅读(269) 评论(0) 推荐(0) 编辑

System.Data.SQLite 1.0.83.0 使用试验

摘要: System.Data.SQLite 1.0.83.0 使用试验一、测试环境 windows 8 专业版,系统自带.net framework 4.5(欲安装4.0被系统拒绝)。 系统无安装System.Data.SQLite,无Visual C++ 2010 SP1 runtime。二、测试机结果 下载4个Precompiled Binaries 和Precompiled Statically-Linked Binaries后解压运行其中test.exe: 1、sqlite-netFx40-binary-bundle-Win32-2010-1.0.83.0 发生异常:System.... 阅读全文
posted @ 2013-01-06 23:38 z1971 阅读(680) 评论(0) 推荐(0) 编辑

dockpanelsuite

摘要: https://github.com/dockpanelsuite/dockpanelsuitehttp://sharpstatistics.co.uk/ 阅读全文
posted @ 2012-11-27 14:24 z1971 阅读(104) 评论(0) 推荐(0) 编辑

Binding to a ComboBox using a DataTable and Linq

摘要: Binding to a ComboBox using a DataTable and LinqPostedSat, Feb 27 2010 17:47byDeborah KurataIf you retrieve data into a DataTable, it is easy to bind it to a ComboBox. And before Linq, you would filter the DataTable using a DataView. But with Linq, you have some easy to use features for filtering th 阅读全文
posted @ 2012-11-26 16:50 z1971 阅读(191) 评论(0) 推荐(0) 编辑

检测到 ReleaseHandleFailed

摘要: 检测到 ReleaseHandleFailedMessage: 类型“Microsoft.Win32.SafeHandles.SafeCapiHashHandle”的 SafeHandle 或 CriticalHandle 未能正确释放值为 0x0866A1C0 的句柄。这通常表明已通过其他一些方式(例如,使用 DangerousGetHandle 提取句柄,然后直接关闭句柄,或者在它周围生成另一个 SafeHandle)错误地释放了该句柄。 阅读全文
posted @ 2012-01-19 14:03 z1971 阅读(300) 评论(0) 推荐(0) 编辑

Shrink / VACUUM Database - Sample Code C#

摘要: Just execute a query of"vaccuum;".using (SQLiteCommand command = m_connection.CreateCommand()){ command.CommandText ="vacuum;"; command.ExecuteNonQuery();} 阅读全文
posted @ 2011-11-19 11:05 z1971 阅读(148) 评论(0) 推荐(0) 编辑

Shrink / VACUUM Database - Sample Code C#

摘要: Just execute a query of"vaccuum;".using (SQLiteCommand command = m_connection.CreateCommand()){ command.CommandText ="vacuum;"; command.ExecuteNonQuery();} 阅读全文
posted @ 2011-11-19 11:05 z1971 阅读(158) 评论(0) 推荐(0) 编辑

VS2010中使用《WeifenLuo.WinFormsUI.Docking.dll》,类型 Universe 无法解析程序集

摘要: 打开窗体设计器出现,类型 Universe 无法解析程序集: System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a。解决:应用程序目标框架不能为Client Profile参考:VS2010 "Type universe cannot resolve assembly" has nothing to do with relativityIf you happen to seethis error be concerned, but do not be alarmed. 阅读全文
posted @ 2011-11-18 14:38 z1971 阅读(1170) 评论(0) 推荐(0) 编辑