资源简介
wiki功能基本实现,供参考的源码,使用c#语言和asp2.0+sql
代码片段和文件信息
/*
Copyright (c) 2005 Clay Alberty
All rights reserved.
Redistribution and use in source and binary forms with or without modification are permitted
provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice this list of conditions
and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice this list of conditions
and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of Clay Alberty nor the names of his contributors may be used to endorse or
promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS“ AND ANY EXPRESS OR IMPLIED
WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT LIMITED
TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE DATA OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN CONTRACT STRICT LIABILITY OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF THE POSSIBILITY
OF SUCH DAMAGE.
*/
using System;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Collections;
using System.IO;
using System.Text;
using System.Text.Regularexpressions;
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 ProntoWiki.Controls;
namespace ProntoWiki
{
public partial class _Default : WikibasePage
{
//记录时间
private DateTime wikiStartTime;
private DateTime wikiEndTime;
protected void Page_Load(object sender EventArgs e)
{
pageName = GetPageName();//获取页面名称
lblHeader.Text = pageName;//加入顶部
WikiSiteNav nav1 = (WikiSiteNav)Master.FindControl(“nav1“);//?
try
{
nav1.Add(pageName);
}
catch (Exception ex)
{
HandleError(ex);
}
if (!IsPostBack)
{
BindPageText(true);
}
PerformSecurityChecks();
}
protected void PerformSecurityChecks()
{
if (!Context.User.IsInRole(“Editor“))
{
btnCreate.Visible = false;
if (DataList1.Items.Count > 0)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 5023 2008-02-18 11:22 wiki开源\App_Code\Wikiba
文件 11685 2006-06-19 21:50 wiki开源\App_Code\WikiParser.cs
文件 1746 2006-04-08 18:06 wiki开源\App_Data\1.0.0.3.sql
文件 8738 2006-06-20 21:57 wiki开源\App_Data\1.0.1.6.sql
文件 22348 2006-06-20 21:57 wiki开源\App_Data\ProntoWiki_Full.sql
文件 3468 2006-05-21 14:06 wiki开源\App_Themes\MSN_Blue\default.css
文件 8687 2006-04-07 23:03 wiki开源\App_Themes\MSN_Blue\default.skin
文件 1138 2005-03-13 12:37 wiki开源\App_Themes\MSN_Blue\Images\bar.JPG
文件 709 2005-03-31 17:02 wiki开源\App_Themes\MSN_Blue\Images\bullet.JPG
文件 3255 2005-03-13 12:39 wiki开源\App_Themes\MSN_Blue\Images\logo.JPG
文件 615 2006-05-13 23:20 wiki开源\App_Themes\MSN_Blue\Images\tack.png
文件 772 2005-03-15 19:08 wiki开源\App_Themes\MSN_Blue\menuicon.JPG
文件 3100 2006-05-14 21:34 wiki开源\App_Themes\MSN_Red\default.css
文件 8648 2006-04-08 16:37 wiki开源\App_Themes\MSN_Red\default.skin
文件 953 2005-03-13 12:07 wiki开源\App_Themes\MSN_Red\Images\bar.JPG
文件 733 2005-03-31 17:12 wiki开源\App_Themes\MSN_Red\Images\bullet.JPG
文件 2288 2005-03-31 17:07 wiki开源\App_Themes\MSN_Red\Images\logo.JPG
文件 569 2005-12-18 22:14 wiki开源\Controls\DisplayModeMenu.ascx
文件 4141 2005-12-22 22:51 wiki开源\Controls\DisplayModeMenu.ascx.cs
文件 605 2006-04-21 22:40 wiki开源\Controls\GoToPage.ascx
文件 2436 2006-05-16 22:13 wiki开源\Controls\GoToPage.ascx.cs
文件 637 2005-12-21 22:31 wiki开源\Controls\Search.ascx
文件 2455 2005-12-22 22:51 wiki开源\Controls\Search.ascx.cs
文件 369 2006-05-16 22:31 wiki开源\Controls\TopTen.ascx
文件 2812 2005-12-22 22:51 wiki开源\Controls\TopTen.ascx.cs
文件 311 2005-12-18 22:59 wiki开源\Controls\WikiLogin.ascx
文件 2015 2005-12-22 22:51 wiki开源\Controls\WikiLogin.ascx.cs
文件 182 2005-12-18 22:30 wiki开源\Controls\WikiSiteNav.ascx
文件 5298 2006-05-16 22:17 wiki开源\Controls\WikiSiteNav.ascx.cs
文件 13544 2008-02-18 10:04 wiki开源\Default.aspx
............此处省略6831个文件信息
相关资源
- asp.net 源码:微信公众号接口,微信企
- ASP.NET通用权限管理框架
- 基于ASP.NET MVC项目源码完整(含Aspos
- asp.net网上书店
- ASP.NET+SQL Server勤工助学系统的设计与
- Asp.net语言写的三层架构的校园论坛
- asp.net 图片管理系统(C#)
- ASP.NET 4.5.1入门经典第9版源码
- 可重用的MVC分页方法ASP.NET MVC
- 后台维护系统WPF附带SQL Server数据库和
- ASP.NET+MVC5+EF6+EasyUI完整源码 只要一分
- (C#+SQL)旅游管理系统
- asp.net mvc4 实现用户登录
- asp.net个人网站
- ASP.NET MVC5 框架揭秘
- ASP.NET MVC3与三层架构的电子商城源码
- ASP.NET微信公众平台开发源代码
- 最新微软官方文档 ASP.NET CORE 2.2
- ASP.net基于百度AI的在线人脸登陆,人
- ASP.Net MVC + bootstrap 仓库管理系统源码
- 深入体验ASP.NET项目开发_源码
- ASP.Net呼叫中心客服系统源码.zip.zip
- asp.net母版页大全
- 10个ASP.NET项目源码
- 数据库课程设计c# SQL
- Devart dbForge Studio for SQL Server v5.2.177
- C# 类似webapi的Nancy框架
- 鲜花销售管理系统
- 企业OA办公系统 asp.net源码 三层架构
- ASP.NET 在线考试系统
评论
共有 条评论