原创 Error: File not access

Give error in the following code: FileLoad(null, new FileLoadEventArgs(Server.MapPath("~/PLExcel/" + FileName))); Solu

原创 send email class

using System;  using System.Net;  using System.Net.Mail;  using System.Net.Mime;  namespace Fish {      /// <summary>  

原创 checkbox_checkedChanged not work you have to add autopostback to true

<asp:CheckBox ID="ckbSequence" runat="server" Text="Sequence enforced" OnC

原创 HTML TAG

標籤 描述 DTD <!--...--> 定義註釋。 STF <!DOCTYPE>  定義文檔類型。 STF <a> 定義錨。 STF <abbr> 定義縮寫。 STF <acronym> 定義只取首字母的縮寫。 STF <address

原创 checkbox in the panel control under control of one page

If you have one page has the updatepanel inside and want to use checkbox with child update panel in the child control.

原创 Properties format

INT privateint RowIndex { get   { if (ViewState["RowIndex"] == null) { return -1; } else   { returnint.Parse(ViewS

原创 dropdown list 的 RequiredFieldValidator

 <asp:DropDownList ID="ddlSelectAccount" runat="server" CssClass="clsDropW

原创 make the label text wrap in the gridview

<asp:TemplateField HeaderText="Course Name" SortExpression="title" HeaderStyle-HorizontalAlign="Center" ItemStyle-Ho

原创 querystring avoid the browser not accepting some characters

Server.UrlEncode(lblPackageName.Text).Replace("'", "%27").Replace("#", "%2

原创 View in SQL SERVER

Views in SQL Server By Steve Manik View A view is a virtual table that consists of columns from one or more tables. Th

原创 SQL SERVER的字段類型說明

SQL SERVER的字段類型說明 已有 102 次閱讀2009-6-19 11:06|個人分類:sql| 以下爲SQL SERVER7.0以上版本的字段類型說明。SQL SERVER6.5的字段類型說明請參考SQL SERVER提

原创 網頁執行順序

在有母版頁的情況下,處理順序: 第01步、內容頁的 Page_PreInit 第02步、母版頁的 Page_Init 第03步、內容頁的 Page_Init 第04步、內容頁的 Page_InitComplete 第05步、內容頁的 P

原创 CONVERT函數

-功能概述:CONVERT函數全部用法格式:CONVERT(data_type,expression[,style])說明:(datetime,smalldatetime)與字符串類型(nchar,nvarchar,char,varcha

原创 Serializable 作用

Serializable 作用 序列化的attribute,是爲了利用序列化的技術準備用於序列化的對象必須設置 [System.Serializable] 標籤,該標籤指示一個類可以序列化。便於在網絡中傳輸和保存 這個標籤是類

原创 ASP.NET 4 Website Template Default Objects

ASP.NET 4 Website Template Default Objects OBJECT NAME DESCRIPTION Account Contains user management forms for re