WELOA.BLL/WEL/LS_Login_Guestbook.cs

(开头部分) 5KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WELOA.Model;
using LSDAL_SQL;

namespace LSBLL
{
    public class LS_Login_Guestbook
    {
        
        private DateSetInformation dsinfo = new DateSetInformation();
        private ls_guestbookDAO guestbookDAO = new ls_guestbookDAO();
        private ls_staffDAO staffDAO = new ls_staffDAO();
        private Polytechnic trinfo = new Polytechnic();

        
        public Polytechnic delguestbook(int id)
        {
            this.trinfo = this.guestbookDAO.delguestbook(id);
            return this.trinfo;
        }

        public Polytechnic delguestbook(int nIdStar, int nIdEnd)
        {
            this.trinfo = this.guestbookDAO.delguestbook(nIdStar, nIdEnd);
            return this.trinfo;
        }

        public Polytechnic insguestbook(string strZhengjian, string strName, string strDepartment, string strNeirong)
        {
            this.trinfo = this.guestbookDAO.insguestbook(strZhengjian, strName, strDepartment, strNeirong);
            return this.trinfo;
        }

        public IsPage PageHtml(int Record_Per_Page, int nPage, string strPageName)
        {
            IsPage IsPage = new IsPage
            {
                nException = -1
            };
            Polytechnic Polytechnic = this.guestbookDAO.selectrowscount();
            if (Polytechnic.nException > 0)
            {
                IsPage.nException = 1;
                return IsPage;
            }
            string strConditions = "";
            LS_IsPage IsPage2 = new LS_IsPage();
            return IsPage2.AllowpageList(Polytechnic.rowscount, Record_Per_Page, nPage, strPageName, strConditions);
        }

        public IsPage PageHtml(int Record_Per_Page, int nPage, string strPageName, string strZhengjian)
        {
            IsPage IsPage = new IsPage
            {
                nException = -1
            };
            Polytechnic Polytechnic = this.guestbookDAO.selectrowscount(strZhengjian);
后面还有 96 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。