dingDan.aspx.cs

(开头部分) 3KB

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

using System;
using System.Collections.Generic;

using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using System.Data;
using Maticsoft.Common;
using System.Drawing;
using LTP.Accounts.Bus;
public partial class dingDan : PageBase
{
    HZP.BLL.Orders bll = new HZP.BLL.Orders();

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            if (UserInfo == null)
            {
                ResponseMessageToUrl(this.Page, "请您登录!", "default.aspx");
                return;
            }

          
            BindData();
        }
    }

    protected void btnSearch_Click(object sender, EventArgs e)
    {
        BindData();
    }

    protected void btnDelete_Click(object sender, EventArgs e)
    {
        string idlist = GetSelIDlist();
        if (idlist.Trim().Length == 0)
            return;
        bll.DeleteList(idlist);
        BindData();
    }

    #region gridView

    public void BindData()
    {
        #region
        //if (!Context.User.Identity.IsAuthenticated)
        //{
        //    return;
        //}
        //AccountsPrincipal user = new AccountsPrincipal(Context.User.Identity.Name);
        //if (user.HasPermissionID(PermId_Modify))
        //{
        //    gridView.Columns[6].Visible = true;
        //}
        //if (user.HasPermissionID(PermId_Delete))
        //{
后面还有 76 行代码,购买后查看完整代码

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

AI 解读

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

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