예제 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                if (IntParam <= 0 && StrCmd.Equals("add"))
                {
                    txtKindID.Text = (FacadeManage.aidePlatformFacade.GetMaxMobileKindID() + 1).ToString();
                }

                MobileKindItemDataBind();
            }
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         if (IntParam <= 0 && StrCmd.Equals("add"))
         {
             txtTypeID.Text = (aidePlatformFacade.GetMaxGameTypeID( ) + 1).ToString( );
         }
         BindJoin( );
         GameTypeItemDataBind( );
     }
 }
예제 #3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         BindGameKindList( );
         BindNode( );
         BindData( );
         if (IntParam <= 0 && StrCmd.Equals("add"))
         {
             txtNodeID.Text = (FacadeManage.aidePlatformFacade.GetMaxGameNodeID() + 1).ToString();
         }
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         if (IntParam <= 0 && StrCmd.Equals("add"))
         {
             txtGameID.Text = (FacadeManage.aidePlatformFacade.GetMaxGameKindID() + 1).ToString();
         }
         BindDataBaseAddr();
         BindSupporType();
         GameGameItemDataBind();
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         if (IntParam > 0 && StrCmd.Equals("del"))
         {
             //判断权限
             AuthUserOperationPermission(Permission.Delete);
             FacadeManage.aideTreasureFacade.DeleteGameScoreLockerByUserID(IntParam);
             ShowInfo("删除成功");
         }
         BindData();
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         if (!string.IsNullOrEmpty(StrParam) && StrCmd.Equals("del"))
         {
             //判断权限
             AuthUserOperationPermission(Permission.Delete);
             FacadeManage.aideAccountsFacade.DeleteConfineAddressByAddress(StrParam);
             ShowInfo("删除成功");
         }
         BindData( );
     }
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         if (StrCmd.Equals("export") && IntParam > 0)
         {
             //判断权限
             AuthUserOperationPermission(Permission.ExportCard);
             FacadeManage.aideTreasureFacade.UpdateLivcardBuildStream(IntParam); //更新导出次数
             Export();                                                           //导出
         }
         txtStartDate.Text = DateTime.Now.ToString("yyyy-MM-") + "01";
         txtEndDate.Text   = DateTime.Now.ToString("yyyy-MM-dd");
         BindData();
     }
 }