必须填写至少10个字的日志
nnhy authored at 2011-11-18 18:02:37
886.00 B
X
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using NewLife.CommonEntity;

public partial class Admin_SelectAdmin : MyEntityList
{
    protected override void OnPreLoad(EventArgs e)
    {
        Manager.ValidatePermission = false;

        base.OnPreLoad(e);
    }

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            lblmsg.Text = Request["Name"];
        }

        Type type = CommonManageProvider.Provider.AdminstratorType;
        ObjectDataSource1.TypeName = type.FullName;
        ObjectDataSource1.DataObjectTypeName = type.FullName;

        type = CommonManageProvider.Provider.RoleType;
        ObjectDataSource2.TypeName = type.FullName;
        ObjectDataSource2.DataObjectTypeName = type.FullName;
    }
}