原创 帶你輕鬆接觸用SQL來合併查詢-子查詢

子查詢:一個選擇查詢安置在另一個查詢內部,創建一個在單一聲明搜索中不可用的資源。子選擇允許查詢的合併,結果組比較的責任落到了數據庫中而不是應用軟件代碼

原创 Visual Studio 2003 中automation服務器不能創建對象

Visual Studio 2003 中創建工程後“automation服務器不能創建對象 ” 解決方案: 在運行裏輸入:regsvr32 scrrun.dll  回車就OK了。 

原创 C#中的裝箱&&拆箱

裝箱是將值類型轉換爲引用類型 拆箱是將引用類型轉換爲值類型 利用裝箱和拆箱功能,可通過允許值類型的任何值與Object 類型的值相互轉換,將值類型與引用類型鏈接起來 例如: int val = 100; object obj = val;

原创 由淺入深學會存儲過程

什麼是存儲過程呢?   定義:   將常用的或很複雜的工作,預先用SQL語句寫好並用一個指定的名稱存儲起來, 那麼以後要叫數據庫提供與已定義好的存儲過

原创 asp.Net不同頁之間傳值

1, 發送頁:     Application["sum"]=this.TextBox1.Text;     Server.Transfer("WebForm2.aspx");        //用Server.Transfer不會轉變

原创 javascript技巧大全

事件源對象 event.srcElement.tagName event.srcElement.type 捕獲釋放 event.srcElement.setCapture();  event.srcElement.releaseCapt

原创 .net序列化和反序列化2

using System; using System.Collections; using System.Configuration; using System.Data; using System.Web; using System.

原创 asp.net圖片上傳 ----上傳至數據庫---上傳至項目文件夾

using System; using System.Collections; using System.Configuration; using System.Data; using System.Web; using System.

原创 JavaScript案例1

(一).確認刪除用法: 1. BtnDel.Attributes.Add("onclick","return confirm('"+"確認刪除?"+"')"); 2. linktempDelete.Attributes["

原创 最新asp.net 發郵件

    /// <summary>         /// 發送郵件         /// </summary>         /// <param name="email">收件人郵件地址</param>       

原创 帶運算的驗證碼

using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using Sy

原创 通用數據訪問層--Access版

  using System; using System.Data; using System.Configuration; using System.Web; using System.Data.O

原创 時間過的真快啊!

 時間過的真快啊!好久沒寫Blog了。 獻個圖~  

原创 VB和c#語法對比

  VB.NET 'Single line only Rem Single line only  C# // Single line /* Multiple line */ /// XML comments on sin

原创 DataSet導出EXCEL

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing;