• 大小: 1004KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-08-30
  • 语言: C#
  • 标签: 完整  

资源简介

ASP.NET实现的校友录系统完整代码,从SQL到VS下的solution,是完整版的

资源截图

代码片段和文件信息

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.xml.Linq;
using SQLHelper;

namespace _29_1
{
    public partial class delete : System.Web.UI.Page
    {
        protected void Page_Load(object sender EventArgs e)
        {
            if (Session[“admin“] == null)
            {
                Response.Redirect(“friends.aspx“);
            }
            else
            {
                if (Session[“admin“].ToString() == “1“)
                {
                    string strsql = “delete from diary where id=‘“ + Request.QueryString[“id“] + “‘“;
                    SQLHelper.SQLHelper.ExecNonQuery(strsql);
                    Response.Redirect(“friends.aspx“);
                }
                else
                {
                    Response.Redirect(“errors/cdelete.aspx?id=“ + Request.QueryString[“id“]);
                }
            }
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1436  2008-10-22 22:49  校友录系统(ASP.NET 3.5实现)\SQL\diary.sql

     文件       1004  2008-10-22 22:49  校友录系统(ASP.NET 3.5实现)\SQL\diaryclass.sql

     文件       1266  2008-10-22 22:49  校友录系统(ASP.NET 3.5实现)\SQL\diarygbook.sql

     文件       1724  2008-10-22 22:50  校友录系统(ASP.NET 3.5实现)\SQL\register.sql

     文件       2354  2008-10-22 15:25  校友录系统(ASP.NET 3.5实现)\29.1\29-1.sln

    ..A..H.     38912  2008-10-23 15:33  校友录系统(ASP.NET 3.5实现)\29.1\29-1.suo

     文件       5154  2008-10-22 09:11  校友录系统(ASP.NET 3.5实现)\29.1\SQLHelper\SQLHelper.cs

     文件       2547  2008-10-22 09:20  校友录系统(ASP.NET 3.5实现)\29.1\SQLHelper\SQLHelper.csproj

     文件       1350  2008-10-22 09:11  校友录系统(ASP.NET 3.5实现)\29.1\SQLHelper\Properties\AssemblyInfo.cs

     文件        387  2008-10-22 21:36  校友录系统(ASP.NET 3.5实现)\29.1\SQLHelper\obj\Debug\SQLHelper.csproj.FileListAbsolute.txt

     文件       6656  2008-10-22 21:36  校友录系统(ASP.NET 3.5实现)\29.1\SQLHelper\obj\Debug\SQLHelper.dll

     文件      13824  2008-10-22 21:36  校友录系统(ASP.NET 3.5实现)\29.1\SQLHelper\obj\Debug\SQLHelper.pdb

     文件       6656  2008-10-22 21:36  校友录系统(ASP.NET 3.5实现)\29.1\SQLHelper\bin\Debug\SQLHelper.dll

     文件      13824  2008-10-22 21:36  校友录系统(ASP.NET 3.5实现)\29.1\SQLHelper\bin\Debug\SQLHelper.pdb

     文件       2794  2008-10-22 15:18  校友录系统(ASP.NET 3.5实现)\29.1\DiaryAdmins\DiaryAdmins.csproj

     文件       1107  2008-10-22 17:57  校友录系统(ASP.NET 3.5实现)\29.1\DiaryAdmins\Myadmins.cs

     文件       1354  2008-10-22 15:13  校友录系统(ASP.NET 3.5实现)\29.1\DiaryAdmins\Properties\AssemblyInfo.cs

     文件        557  2008-10-22 21:36  校友录系统(ASP.NET 3.5实现)\29.1\DiaryAdmins\obj\Debug\DiaryAdmins.csproj.FileListAbsolute.txt

     文件       5120  2008-10-22 21:36  校友录系统(ASP.NET 3.5实现)\29.1\DiaryAdmins\obj\Debug\DiaryAdmins.dll

     文件      11776  2008-10-22 21:36  校友录系统(ASP.NET 3.5实现)\29.1\DiaryAdmins\obj\Debug\DiaryAdmins.pdb

     文件       4460  2008-10-22 21:36  校友录系统(ASP.NET 3.5实现)\29.1\DiaryAdmins\obj\Debug\ResolveAssemblyReference.cache

     文件       5120  2008-10-22 21:36  校友录系统(ASP.NET 3.5实现)\29.1\DiaryAdmins\bin\Debug\DiaryAdmins.dll

     文件      11776  2008-10-22 21:36  校友录系统(ASP.NET 3.5实现)\29.1\DiaryAdmins\bin\Debug\DiaryAdmins.pdb

     文件       6656  2008-10-22 21:36  校友录系统(ASP.NET 3.5实现)\29.1\DiaryAdmins\bin\Debug\SQLHelper.dll

     文件      13824  2008-10-22 21:36  校友录系统(ASP.NET 3.5实现)\29.1\DiaryAdmins\bin\Debug\SQLHelper.pdb

     文件       2794  2008-10-22 15:25  校友录系统(ASP.NET 3.5实现)\29.1\AddFriends\AddFriends.csproj

     文件       1123  2008-10-22 17:57  校友录系统(ASP.NET 3.5实现)\29.1\AddFriends\NewFriends.cs

     文件       1352  2008-10-22 15:24  校友录系统(ASP.NET 3.5实现)\29.1\AddFriends\Properties\AssemblyInfo.cs

     文件        546  2008-10-22 21:36  校友录系统(ASP.NET 3.5实现)\29.1\AddFriends\obj\Debug\AddFriends.csproj.FileListAbsolute.txt

     文件       5120  2008-10-22 21:36  校友录系统(ASP.NET 3.5实现)\29.1\AddFriends\obj\Debug\AddFriends.dll

............此处省略517个文件信息

评论

共有 条评论