예제 #1
0
        protected void Change_Status_Command(object sender, CommandEventArgs e)
        {
            string Admin_ID = e.CommandArgument.ToString();

            if (e.CommandName == "1")
            {
                updaters.Admin_Status(Admin_ID, "0");
            }
            else
            {
                updaters.Admin_Status(Admin_ID, "1");
            }
            All_Admins.DataSource = find.Admin_All(Search_Console.Text);
            All_Admins.DataBind();
        }