原创 ADO.Net 按日期查詢

using (SqlDataAdapter adapter = new SqlDataAdapter()) //強力推薦Using塊,即便異常也可以自動釋放內存 {       try        {             

原创 SQL Server 2008常見錯誤解決辦法

1.對文件 的目錄查找失敗,出現操作系統錯誤 5(拒絕訪問。) A:爲所要建數據庫的文件夾添加System用戶的完全控制權限。

原创 使用Forms Authentication實現用戶註冊、登錄

使用Forms Authentication實現用戶註冊、登錄 一 基礎知識 本文示例代碼:http://www.codeplex.com/a/Release/ProjectReleases.aspx?ReleaseId=9518

原创 Ongl表達式使用

1、ongl表達式只能在struts2標籤中使用,在html標籤中無效。 2、ongl表達式在<s:property />標籤中使用時使用普通格式,在其他標籤中使用時須在%{ }內,以說明該式不是普通字符串。 3、EL表達式在struts

原创 Strut2 datetimepicker標籤使用

1、添加jar文件:struts2-dojo-plugin.jar,並添加到環境變量 2、在頁面頂部添加<%@ taglib uri="/struts-dojo-tags" prefix="sx"%> 3、在<head></head>中添

原创 ROBOCOPY用法 windows的可靠文件複製

原文作者沒有找到 轉載自:http://blog.chinaunix.net/uid-26782198-id-3265496.html ---------------【參數】-------------------robocopy   

原创 Why does the asp.net website administration tool give timeout message (mysql db)?

i have an asp.net-mvc website and I am trying to use the asp.net website administration tool but when i click in visua