原创 c# sql server 擴展存儲過程

1.Q: 當SQLServer2000一個表裏新增一行數據的時候,自動觸發C#的一段後續處理程序     A1:用sp_makewebtask   產生文件             C#用filewatch        A2:使用 SQ

原创 SQL SERVER 如何避免事務等待或死鎖 (1)

 1.場景    1) 測試表Tbsf_TempDataNo 表結構特點:     Tbsf_TempDataNo (ID,tblName,DataNo,createTime)      無索引,無主鍵。    2) A用戶進行如下操作:

原创 Open Source URL

1.BIRT Business Intelligence and Reporting Tools BIRT is an open source Eclipse-based reporting system that integrates

原创 C# DatagridView行隱藏問題

在應用DataGridView控件時,在進行第一行隱藏時出現 Row associated with the currency manager's position cannot be made invisible. 原因是系統默認Gri

原创 What is the difference between an application server and a Web server?

     Taking a big step back, a Web server serves pages for viewing in a Web browser, while an application server provid

原创 C#生成com組件,供VB調用

一、vs2005—新建項目—C#類庫 類庫源碼如下(包含接口,類,事件接口): using System;using System.Collections.Generic;using System.Text;using System.IO

原创 從 SQL Server 2005 Beta 2 升級到 SQL Server 2005 社區技術預覽後記錄消息"無法找到指定的模塊"錯誤和所有 SQL Server 代理作業不運行

1.症狀  從 Microsoft SQL Server 2005 Beta 2 升級到 Microsoft SQL Server 2005 社區技術預覽 (CTP) 後,無法運行所有 SQL Server 代理作業。 此外,SQL Se

原创 System Workflow和Human Workflow

     瞭解了.Net Framework 3.0中的WF,大家一定都知道了System workflow和Human workflow這兩個概念。從名字上就看的出來,System workflow指的是把應用系統按一定的規則連接起來的

原创 Visual Studio 2005-基於應用程序中使用 System.Net.mail.SmtpClient 類發送電子郵件時的錯誤

1.症狀   在基於 Microsoft Visual Studio 2005 應用程序中,您嘗試通過使用 System.Net.Mail.SmtpClient 類發送電子郵件。 使用 Microsoft.NET Framework 2.

原创 How To Print a Form That Is Too Large for the Screen or Page

 The PrintForm method prints only the portion of the form that is displayed. This article demonstrates how to print a f

原创 Implementing Manual Activities in Windows Workflow

         Windows workflow is an excellent framework for implementing business processes. One thing that is missing in i

原创 如何打印整個 VB 窗體和控制打印大小

 在 Windows PrintForm Visual Basic 方法提供了一種可以打印與客戶區的窗體方法。 但是,重新實現不允許您控制大小或在打印的輸出的比例,或打印該非客戶端區域 (標題和邊框) 窗體。 代碼下例打印整個的窗體中使用

原创 SQL SERVER 語法檢查方法

1.SET   NOEXEC  方式 : 編譯但不執行語句   When SET NOEXEC is ON, SQL Server compiles each batch of Transact-SQL statements but d

原创 SQL SERVER中collate的含義

我們在create table時經常會碰到這樣的語句,例如:password nvarchar(10)collate chinese_prc_ci_as null,那它到底是什麼意思呢?不妨看看下面: 首先,collate是一個子句,可應

原创 轉:.NET中的線程

此文比較詳細的講述了.NET中的線程,很好的學習資料,新手值得學習。目錄   基礎篇 怎樣創建一個線程 受託管的線程與 Windows線程 前臺線程與後臺線程 名爲BeginXXX和EndXXX的方法是做什麼用的 異步和多線程