commit
7a0d7f77ac
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" validateRequest="false" AutoEventWireup="true" CodeFile="DefineExample.aspx.cs" Inherits="Admin_DefineExample" %>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" >
|
||||
<head runat="server">
|
||||
<title>Example Manage</title>
|
||||
<link rel="stylesheet" type="text/css" href="../Minbel.com_Css/BaseStyle.css" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<asp:GridView ID="gvExample" runat="server" showfooter="True" AutoGenerateColumns="False" DataKeyNames="ID"
|
||||
DataSourceID="ExampleSDS" Width="100%">
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Collections;
|
||||
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;
|
||||
|
||||
public partial class Admin_DefineExample : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DefineType.aspx.cs" Inherits="Admin_DefineType" %>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" >
|
||||
<head runat="server">
|
||||
<title>增加类别</title>
|
||||
<link rel="stylesheet" type="text/css" href="../Minbel.com_Css/BaseStyle.css" />
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div style="text-align: center">
|
||||
<asp:GridView ID="gvType" runat="server" autogeneratecolumns="False" showfooter="True" DataSourceID="TypeSDS" DataKeyNames="TypeID" >
|
||||
<Columns>
|
||||
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Collections;
|
||||
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;
|
||||
|
||||
public partial class Admin_DefineType : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FileManage.aspx.cs" Inherits="Admin_FileManage" %>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" >
|
||||
<head runat="server">
|
||||
<title>文章管理</title>
|
||||
<link rel="stylesheet" type="text/css" href="../Minbel.com_Css/BaseStyle.css" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<asp:GridView ID="gvFile" showfooter="True" runat="server" AllowPaging="True" AutoGenerateColumns="False"
|
||||
DataKeyNames="FileID" DataSourceID="FileSDS" PageSize="30" Width="100%">
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" validateRequest="false" AutoEventWireup="true" CodeFile="FileSubmit.aspx.cs" Inherits="Admin_FileSubmit" %>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" >
|
||||
<head runat="server">
|
||||
<title>无标题页</title>
|
||||
</head>
|
||||
<body >
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<table width="100%" >
|
||||
<tr>
|
||||
<td style="width: 80px; text-align: center;">
|
||||
类别</td>
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Collections;
|
||||
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.IO;
|
||||
using System.Text;
|
||||
using System.Data.OleDb;
|
||||
public partial class Admin_FileSubmit : System.Web.UI.Page
|
||||
{
|
@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" >
|
||||
<head>
|
||||
<title>无标题页</title>
|
||||
</head>
|
||||
<body>
|
||||
<br />
|
||||
<br />
|
||||
您已经进入管理界面
|
||||
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,15 @@
|
||||
<%@ Page validateRequest="false" Language="C#" %>
|
||||
<%@ Import Namespace="System.Data.OleDb" %>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<script runat="server">
|
||||
|
||||
protected void btnAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
string strTitle = txtTitle.Text.Trim();
|
||||
string strE_Memo = txtE_Memo.Text.Trim();
|
||||
if (strTitle == "" || strE_Memo=="")
|
||||
{
|
||||
return;
|
||||
}
|
||||
try
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="Admin_index" %>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" >
|
||||
<head runat="server">
|
||||
<title>管理</title>
|
||||
<link rel="stylesheet" type="text/css" href="../Minbel.com_Css/BaseStyle.css" />
|
||||
</head>
|
||||
<body bgcolor="#66cc00">
|
||||
<form id="form1" runat="server">
|
||||
|
||||
<div >
|
||||
<br />
|
||||
<p style="text-align: center">
|
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Collections;
|
||||
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;
|
||||
|
||||
public partial class Admin_index : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" >
|
||||
<head runat="server">
|
||||
<title>无标题页</title>
|
||||
</head>
|
||||
<body style="font-size: 12pt">
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<span style="color: #009900; font-size: 16pt;" ><br />
|
||||
<strong>明博静态新闻(文章)发布系统</strong></span>-<br />
|
||||
MinbelNews(<span style="color: #ff0066">ASP2.0(C#)+Access2003</span>)<br />
|
||||
源码免费下载<br />
|
@ -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;
|
||||
|
||||
public partial class _Default : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
@ -0,0 +1,15 @@
|
||||
<%@ Page Language="C#" %>
|
||||
<%@ Import Namespace="System.Data.OleDb" %>
|
||||
|
||||
|
||||
<script runat="server">
|
||||
//显示几条数据在指定的位置
|
||||
/// <summary>
|
||||
/// <script type="text/javascript" src="Files/ShowFileItems.aspx?Num=8&TypeID=2"></sscript>
|
||||
///Num 条数
|
||||
///TypeID 类型的ID
|
||||
/// </summary>
|
||||
|
||||
|
||||
private void Page_Init(object sender, EventArgs e)
|
||||
{
|
@ -0,0 +1,15 @@
|
||||
/* ----------------------定义全局-------B---------------------*/
|
||||
body
|
||||
{
|
||||
font-size: 9pt;
|
||||
margin-right: 1px;
|
||||
color: #003366;
|
||||
overflow:auto;
|
||||
margin: 0px;
|
||||
clip: rect(auto auto auto auto);
|
||||
font-family:"宋体";
|
||||
}
|
||||
|
||||
|
||||
A:link {text-decoration: none}
|
||||
A:visited {text-decoration: none; color: #ff0066}
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
注意: 除了手动编辑此文件以外,您还可以使用
|
||||
Web 管理工具来配置应用程序的设置。可以使用 Visual Studio 中的
|
||||
“网站”->“Asp.Net 配置”选项。
|
||||
设置和注释的完整列表在
|
||||
machine.config.comments 中,该文件通常位于
|
||||
\Windows\Microsoft.Net\Framework\v2.x\Config 中
|
||||
-->
|
||||
<configuration>
|
||||
<appSettings/>
|
||||
<connectionStrings>
|
||||
<add name="MinbelConn" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\coder\Desktop\2023\6\20230613\submit\MinbelNews\App_Data\minbel.mdb" providerName="System.Data.OleDb"/>
|
||||
</connectionStrings>
|
||||
<!--
|
Loading…
Reference in new issue