예제 #1
0
        protected void RPT_ItemCommand(object source, RepeaterCommandEventArgs e)
        {
            switch (e.CommandName.ToLower())
            {
            case "del":
                payll.ChangeRecycle(e.CommandArgument.ToString(), 1);
                break;

            case "recdel":
                payll.RealDelByIDS(e.CommandArgument.ToString());
                break;

            case "rec":
                payll.ChangeRecycle(e.CommandArgument.ToString(), 0);
                break;
            }
            MyBind();
        }