原创 .asx 文件的內容

原文地址: http://support.microsoft.com/default.aspx?scid=kb;zh-cn;247355 ASX/播放列表<ASX Version = "3.0"><Entry> <Ref href = "

原创 生成RSS的類(RSS Feed Helper Class)

該RSS類的代碼:using System;using System.Xml; /// <summary>/// Enables the generation of an RSS feed/// </summary>public clas

原创 給按鈕添加確認提示

給按鈕添加確認提示<%@ Page Language="C#" %><script runat="server">public void Page_L

原创 ASP.NET Popup Windows With Return Values

http://www.eggheadcafe.com/articles/20060117.asp                      

原创 隨機提取N條記錄的SQL語句

Sql server:    select top 10 * from 表 order by newid()Access:    SELECT top 10 * FROM 表 ORDER BY Rnd(id) Rnd(id) 其中的id是

原创 爲愛離開

爲愛離開                                          能如此靠近你 我已感到幸福 不敢再多奢求 因爲你我都已經踏上了一條長路    忍住那一滴的淚 別讓它在我的面前落下 因爲我無法承重 它

原创 把datagrid生成了word文檔,並在ie顯示

下面代碼把datagrid生成了word文檔,並在ie顯示     //生成     HttpContext.Current.Response.AppendHeader("Content-Dispositi

原创 CodeSnip: How to Create a BoundField Dynamically Using GridView

CodeSnip: How to Create a BoundField Dynamically Using GridView In this code snippet, Sushila examines how to create an

原创 Dynamic Generation of Word Document Report in ASP.NET with HTML

Dynamic Generation of Word Document Report in ASP.NET with HTML In this article, Vishal demonstrates how simple it is t

原创 GridView根據值的變化改變行列樣式

http://nina-piaoye.cnblogs.com/archive/2006/06/16/427330.aspx 

原创 asp.net中'COO/ASPNET' 登錄失敗。

因爲你的程序連接SQLServer的連接字符串是用了windows集成登陸,你可以改成用數據庫帳號密碼登陸。連接字符串的寫法是: server=localhost;uid=sa;pwd=xxxx;database=master; serv

原创 C# in depth 閱讀筆記-- 委託

委託(delegate)  1. 相當於C語言的函數指針,執行委託,就是執行相應代理的方法. 2. 使用委託的步驟    a. 聲明委託類型(delegate)  委託的簽名決定了委託可以代理的方法的類型,方法的簽名要去委託的簽名一致 

原创 Nested Repeaters to Display Nested Data

http://gridviewguy.com/ArticleDetails.aspx?articleID=185

原创 Introduction: Creating a Data Access Layer

http://www.asp.net/learn/dataaccess/tutorial01vb.aspx?tabid=63 

原创 正則表達式

以字母或漢字開頭只能經字母漢字或數字組成長度爲6-16個字符^[A-Za-z/u4e00-/u9fa5][A-Za-z0-9/u4e00-/u9fa5]{5,15}$  http://mscenter.edu.cn/blog/yongsh