摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace DelegateAndEvent{ public c... 阅读全文
摘要:
1.Dispose方法中,应该使用GC.SuppressFinalize防止GC调用Finalize方法,因为显示调用Dispose比较好。2.Disposed字段保证了两次调用Dispose方法不会抛出异常。3.同时实现Finalize方式和Dispose方式,一方面Dispose方法可以克服Fi... 阅读全文
摘要:
http://support2.microsoft.com/kb/310130/zh-cn此分步指导文章描述如何使用 ODBC .NET 托管提供程序和 Visual C# .Net 调用参数化 SQL Server 存储过程。尽管使用 ODBC .NET 提供程序执行参数化存储过程与使用 SQL ... 阅读全文
只有注册用户登录后才能阅读该文。 阅读全文
摘要:
在Windows Form程序中使用带下划线的快捷键只需要进行设置:就能够工作。 阅读全文
摘要:
'set the control can display the focus status Protected Overrides Sub OnGotFocus(ByVal e As System.EventArgs) MyBase.OnGotFocus(e) M... 阅读全文
摘要:
脚本如下: @echo off @setlocal enableextensions @cd /d "%~dp0" set InstallPath=C:\DBoxService\Server set UtilToolPath=C:\Windows\Microsoft.NET\Framework\v2 阅读全文
摘要:
解决方式:The advices for crystal report database connection settings:1, Using ApplyLogOnInfo method instead of SetDatabaseLogon method. The code example a... 阅读全文
摘要:
数据集:报表结果:前面需要空缺的列都按照flag为1时进行隐藏:每个字段都可以根据一定的条件,设置显示的string或者是是否显示,或者重复的不显示。Format object-->Report右键:Sections Expertà可以设置report的各个部分是否显示,也可以根据条件设置是否显示:... 阅读全文
摘要:
未用SQL CTE and case when:ALTER PROCEDURE [dbo].[usp_rptDropboxBatchSummary1] @DataSource varchar(10)='ALL', @BatchNum varchar(8)='ALL'... 阅读全文