commit e545ed68e19a781a614ebbf8fb5829053ca7bb3b
Author: editor <@51Aspx.com>
Date: Wed May 22 17:33:53 2024 +0800
初始化
diff --git a/51Aspx源码必读.txt b/51Aspx源码必读.txt
new file mode 100644
index 0000000..08c3565
--- /dev/null
+++ b/51Aspx源码必读.txt
@@ -0,0 +1,40 @@
+VS2005典型实例源码大全(C#)
+
+一、源码描述
+环境:VS2022 sql2019
+
+二、功能介绍
+是一个集成了VS2005新功能的源码集,包括MemberShip、主题Theme、站点地图SiteMap、TreeView、母版页Master、页面缓存输出、本地化、WebParts、HealthMonitoring验证等非常实用的新功能
+具有根据HealthMonitoring的设置,验证失败会发送信息到指定邮箱的功能
+是学习及应用VS2005不可或缺的一个参照源码
+注意:本源码数据库为Sql2005,现在也升级了Sql2019
+
+三、注意事项
+1、在项目web.config修改数据库连接字符串,附加数据库。
+2、管理员账号与密码:abc abc 。
+3、ctrl+F5运行即可。
+
+
+
+
+
+作者: webabcd
+
+如需获得该源码的视频、更新等更多资料请访问: https://www.51aspx.com/Code/VS2005Helper
+------------------------------------------------------------------------------------------------
+
+ 源码服务专家
+ 官网: https://www.51aspx.com
+ 讨论圈: https://club.51aspx.com/
+
+平台声明:
+
+1.51Aspx平台上提供下载的资源为免费、共享、商业三类源码,其中免费和共享源码仅供个人学习和研究使用,商业源码请在相应的授权许可条件下使用;
+2.51Aspx平台对提供下载的软件及其它资源不拥有任何权利,其版权归属源码合法拥有者所有;
+3.著作权人发现本网站载有侵害其合法权益的内容或作品,请与我们联系( 登录官网与客服反馈或发送邮件到support@51Aspx.com );
+4.51Aspx平台不保证提供的下载资源的准确性、安全性和完整性;
+
+友情提示:
+ 一般数据库文件默认在 DB_51Aspx 文件夹下
+ 默认账号密码一般均为51Aspx
+ 关于源码使用常见问题及解决方案,请参阅: https://www.51aspx.com/Help
diff --git a/App_Code/CustomProfile.cs b/App_Code/CustomProfile.cs
new file mode 100644
index 0000000..3fe8422
--- /dev/null
+++ b/App_Code/CustomProfile.cs
@@ -0,0 +1,15 @@
+using System;
+using System.Data;
+using System.Configuration;
+using System.Web;
+using System.Web.Security;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Web.UI.WebControls.WebParts;
+using System.Web.UI.HtmlControls;
+
+using System.Web.Profile;
+
+///
+/// CustomProfile 的摘要说明
+///
diff --git a/App_Code/ITextToPass.cs b/App_Code/ITextToPass.cs
new file mode 100644
index 0000000..ef063af
--- /dev/null
+++ b/App_Code/ITextToPass.cs
@@ -0,0 +1,15 @@
+using System;
+using System.Data;
+using System.Configuration;
+using System.Web;
+using System.Web.Security;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Web.UI.WebControls.WebParts;
+using System.Web.UI.HtmlControls;
+
+///
+/// ITextToPass 的摘要说明
+///
+public interface ITextToPass
+{
diff --git a/App_Code/Microsoft/Samples/PersonalizationProviderHelper.cs b/App_Code/Microsoft/Samples/PersonalizationProviderHelper.cs
new file mode 100644
index 0000000..cc60fd7
--- /dev/null
+++ b/App_Code/Microsoft/Samples/PersonalizationProviderHelper.cs
@@ -0,0 +1,15 @@
+//------------------------------------------------------------------------------
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+//
+//------------------------------------------------------------------------------
+
+namespace Microsoft.Samples {
+ using System.Web.UI.WebControls.WebParts;
+ using System;
+ using System.Web;
+ using System.Collections;
+ using System.Globalization;
+ using System.Web.Util;
+
+ internal static class PersonalizationProviderHelper {
diff --git a/App_Code/Microsoft/Samples/ResourcePool.cs b/App_Code/Microsoft/Samples/ResourcePool.cs
new file mode 100644
index 0000000..c46f297
--- /dev/null
+++ b/App_Code/Microsoft/Samples/ResourcePool.cs
@@ -0,0 +1,15 @@
+//------------------------------------------------------------------------------
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+//
+//------------------------------------------------------------------------------
+
+namespace Microsoft.Samples {
+ using System.Collections;
+ using System.Threading;
+ using System;
+
+ /*
+ * ResourcePool provides a place to store expensive resources,
+ * such as network connections, that you want to dispose of when
+ * they are underused. A resource pool can be configured to timeout
diff --git a/App_Code/Microsoft/Samples/SQLMembershipProvider.cs b/App_Code/Microsoft/Samples/SQLMembershipProvider.cs
new file mode 100644
index 0000000..cad6196
--- /dev/null
+++ b/App_Code/Microsoft/Samples/SQLMembershipProvider.cs
@@ -0,0 +1,15 @@
+//------------------------------------------------------------------------------
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+//
+//------------------------------------------------------------------------------
+
+namespace Microsoft.Samples {
+ using System;
+ using System.Web.Security;
+ using System.Web;
+ using System.Web.Configuration;
+ using System.Security.Principal;
+ using System.Security.Permissions;
+ using System.Globalization;
+ using System.Runtime.Serialization;
diff --git a/App_Code/Microsoft/Samples/SQLRoleProvider.cs b/App_Code/Microsoft/Samples/SQLRoleProvider.cs
new file mode 100644
index 0000000..a4acd92
--- /dev/null
+++ b/App_Code/Microsoft/Samples/SQLRoleProvider.cs
@@ -0,0 +1,15 @@
+//------------------------------------------------------------------------------
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+//
+//------------------------------------------------------------------------------
+
+namespace Microsoft.Samples {
+ using System;
+ using System.Web.Security;
+ using System.Web;
+ using System.Web.Configuration;
+ using System.Security.Principal;
+ using System.Security.Permissions;
+ using System.Globalization;
+ using System.Runtime.Serialization;
diff --git a/App_Code/Microsoft/Samples/SR.cs b/App_Code/Microsoft/Samples/SR.cs
new file mode 100644
index 0000000..9510fd4
--- /dev/null
+++ b/App_Code/Microsoft/Samples/SR.cs
@@ -0,0 +1,15 @@
+//------------------------------------------------------------------------------
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+//
+//------------------------------------------------------------------------------
+
+namespace Microsoft.Samples {
+
+ using System;
+ internal static class SR {
+ internal static string GetString(string strString) {
+ return strString;
+ }
+ internal static string GetString(string strString, string param1) {
+ return string.Format(strString, param1);
diff --git a/App_Code/Microsoft/Samples/SecUtil.cs b/App_Code/Microsoft/Samples/SecUtil.cs
new file mode 100644
index 0000000..07f3bcc
--- /dev/null
+++ b/App_Code/Microsoft/Samples/SecUtil.cs
@@ -0,0 +1,15 @@
+//------------------------------------------------------------------------------
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+//
+//------------------------------------------------------------------------------
+
+/*
+ * SecurityUtil class
+ *
+ * Copyright (c) 1999 Microsoft Corporation
+ */
+
+namespace Microsoft.Samples {
+ using System;
+ using System.Globalization;
diff --git a/App_Code/Microsoft/Samples/SqlConnectionHelper.cs b/App_Code/Microsoft/Samples/SqlConnectionHelper.cs
new file mode 100644
index 0000000..3e970ed
--- /dev/null
+++ b/App_Code/Microsoft/Samples/SqlConnectionHelper.cs
@@ -0,0 +1,15 @@
+//------------------------------------------------------------------------------
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+//
+//------------------------------------------------------------------------------
+
+namespace Microsoft.Samples {
+
+ using System.Web;
+ using System;
+ using System.Globalization;
+ using System.Data.SqlClient;
+ using System.Configuration;
+ using System.Collections.Specialized;
+ using System.Web.Util;
diff --git a/App_Code/Microsoft/Samples/SqlPersonalizationProvider.cs b/App_Code/Microsoft/Samples/SqlPersonalizationProvider.cs
new file mode 100644
index 0000000..2253b9e
--- /dev/null
+++ b/App_Code/Microsoft/Samples/SqlPersonalizationProvider.cs
@@ -0,0 +1,15 @@
+//------------------------------------------------------------------------------
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+//
+//------------------------------------------------------------------------------
+
+namespace Microsoft.Samples {
+ using System.Web.UI.WebControls.WebParts;
+ using System;
+ using System.Collections;
+ using System.Collections.Specialized;
+ using System.Configuration.Provider;
+ using System.ComponentModel;
+ using System.Data;
+ using System.Data.SqlClient;
diff --git a/App_Code/Microsoft/Samples/SqlProfileProvider.cs b/App_Code/Microsoft/Samples/SqlProfileProvider.cs
new file mode 100644
index 0000000..0ac8dbb
--- /dev/null
+++ b/App_Code/Microsoft/Samples/SqlProfileProvider.cs
@@ -0,0 +1,15 @@
+//------------------------------------------------------------------------------
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+//
+//------------------------------------------------------------------------------
+
+namespace Microsoft.Samples {
+ using System;
+ using System.Web.Profile;
+ using System.Web;
+ using System.Web.Configuration;
+ using System.Security.Principal;
+ using System.Security.Permissions;
+ using System.Globalization;
+ using System.Runtime.Serialization;
diff --git a/App_Code/Microsoft/Samples/SqlServices.cs b/App_Code/Microsoft/Samples/SqlServices.cs
new file mode 100644
index 0000000..e269d1b
--- /dev/null
+++ b/App_Code/Microsoft/Samples/SqlServices.cs
@@ -0,0 +1,15 @@
+//------------------------------------------------------------------------------
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+//
+//------------------------------------------------------------------------------
+
+namespace Microsoft.Samples {
+ using System.Web.Management;
+ using System.Web;
+ using System;
+ using System.Web.Util;
+ using System.IO;
+ using System.Data;
+ using System.Data.SqlClient;
+ using System.Threading;
diff --git a/App_Code/Microsoft/Samples/SqlWebEventProvider.cs b/App_Code/Microsoft/Samples/SqlWebEventProvider.cs
new file mode 100644
index 0000000..c6439c3
--- /dev/null
+++ b/App_Code/Microsoft/Samples/SqlWebEventProvider.cs
@@ -0,0 +1,15 @@
+//------------------------------------------------------------------------------
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+//
+//------------------------------------------------------------------------------
+
+namespace Microsoft.Samples {
+ using System;
+ using System.Web;
+ using System.Web.Management;
+ using System.Configuration.Provider;
+ using System.Collections;
+ using System.Collections.Specialized;
+ using System.Configuration;
+ using System.Globalization;
diff --git a/App_Code/Microsoft/Samples/StaticSiteMapProvider.cs b/App_Code/Microsoft/Samples/StaticSiteMapProvider.cs
new file mode 100644
index 0000000..d756fcb
--- /dev/null
+++ b/App_Code/Microsoft/Samples/StaticSiteMapProvider.cs
@@ -0,0 +1,15 @@
+//------------------------------------------------------------------------------
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+//
+//------------------------------------------------------------------------------
+
+
+namespace Microsoft.Samples {
+
+ using System;
+ using System.Collections;
+ using System.Collections.Specialized;
+ using System.Diagnostics;
+ using System.Globalization;
+ using System.Security.Permissions;
diff --git a/App_Code/Microsoft/Samples/XmlSiteMapProvider.cs b/App_Code/Microsoft/Samples/XmlSiteMapProvider.cs
new file mode 100644
index 0000000..a0eaddf
--- /dev/null
+++ b/App_Code/Microsoft/Samples/XmlSiteMapProvider.cs
@@ -0,0 +1,15 @@
+//------------------------------------------------------------------------------
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+//
+//------------------------------------------------------------------------------
+
+/*
+ * XmlSiteMapProvider class definition
+ *
+ * Copyright (c) 2002 Microsoft Corporation
+ */
+
+namespace Microsoft.Samples {
+
+ using System;
diff --git a/App_Code/Microsoft/Samples/sqlstateclientmanager.cs b/App_Code/Microsoft/Samples/sqlstateclientmanager.cs
new file mode 100644
index 0000000..858d54f
--- /dev/null
+++ b/App_Code/Microsoft/Samples/sqlstateclientmanager.cs
@@ -0,0 +1,15 @@
+//------------------------------------------------------------------------------
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+//
+//------------------------------------------------------------------------------
+
+/*
+ * SqlSessionStateStore.cs
+ *
+ * Copyright (c) 1998-2000, Microsoft Corporation
+ *
+ */
+
+namespace Microsoft.Samples {
+
diff --git a/App_Code/Role.cs b/App_Code/Role.cs
new file mode 100644
index 0000000..b3d386c
--- /dev/null
+++ b/App_Code/Role.cs
@@ -0,0 +1,15 @@
+using System;
+using System.Data;
+using System.Configuration;
+using System.Web;
+using System.Web.Security;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Web.UI.WebControls.WebParts;
+using System.Web.UI.HtmlControls;
+
+using System.Collections.Generic;
+using System.ComponentModel;
+
+///
+/// Role 的摘要说明
diff --git a/App_Code/Singleton.cs b/App_Code/Singleton.cs
new file mode 100644
index 0000000..1e9cebf
--- /dev/null
+++ b/App_Code/Singleton.cs
@@ -0,0 +1,15 @@
+using System;
+using System.Data;
+using System.Configuration;
+using System.Web;
+using System.Web.Security;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Web.UI.WebControls.WebParts;
+using System.Web.UI.HtmlControls;
+
+///
+/// Singleton 的摘要说明
+///
+public class Singleton where T : new()
+{
diff --git a/App_Code/SqlSiteMapProvider.cs b/App_Code/SqlSiteMapProvider.cs
new file mode 100644
index 0000000..606f556
--- /dev/null
+++ b/App_Code/SqlSiteMapProvider.cs
@@ -0,0 +1,15 @@
+using System;
+using System.Web;
+using System.Data.SqlClient;
+using System.Collections.Specialized;
+using System.Configuration;
+using System.Web.Configuration;
+using System.Collections.Generic;
+using System.Configuration.Provider;
+using System.Security.Permissions;
+using System.Data.Common;
+using System.Data;
+
+///
+/// SqlSiteMapProvider
+///
diff --git a/App_Code/Test.cs b/App_Code/Test.cs
new file mode 100644
index 0000000..e9319f7
--- /dev/null
+++ b/App_Code/Test.cs
@@ -0,0 +1,15 @@
+using System;
+using System.Data;
+using System.Configuration;
+using System.Web;
+using System.Web.Security;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Web.UI.WebControls.WebParts;
+using System.Web.UI.HtmlControls;
+
+using TestDatabaseTableAdapters;
+using System.ComponentModel;
+
+///
+/// Test 的摘要说明
diff --git a/App_Code/TestDatabase.xsd b/App_Code/TestDatabase.xsd
new file mode 100644
index 0000000..3c02707
--- /dev/null
+++ b/App_Code/TestDatabase.xsd
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App_Code/User.cs b/App_Code/User.cs
new file mode 100644
index 0000000..103c280
--- /dev/null
+++ b/App_Code/User.cs
@@ -0,0 +1,15 @@
+using System;
+using System.Data;
+using System.Configuration;
+using System.Web;
+using System.Web.Security;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Web.UI.WebControls.WebParts;
+using System.Web.UI.HtmlControls;
+
+using System.ComponentModel;
+
+///
+/// User 的摘要说明
+///
diff --git a/App_GlobalResources/MyGlobal.en-us.resx b/App_GlobalResources/MyGlobal.en-us.resx
new file mode 100644
index 0000000..151e799
--- /dev/null
+++ b/App_GlobalResources/MyGlobal.en-us.resx
@@ -0,0 +1,15 @@
+
+
+
+
+ Migration Report
+