예제 #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();
        }
예제 #2
0
 protected void Find_Btn_Click(object sender, EventArgs e)
 {
     All_Admins.DataSource = find.Admin_All(Search_Console.Text);
     All_Admins.DataBind();
 }
예제 #3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     All_Admins.DataSource = search.Admins();
     All_Admins.DataBind();
 }