protected void DroneFixReater_ItemCommand(object source, RepeaterCommandEventArgs e) { string cmdName = e.CommandName; string cmdArgu = e.CommandArgument.ToString(); if ("DeleteItem" == cmdName) { ConnectDB.DelectDroneFix(cmdArgu); } if ("UpDateItem" == cmdName) { string targetUrl = "~/Drone_Fix_CreateData.aspx?ID=" + cmdArgu; Response.Redirect(targetUrl); } DataTable dt = ConnectDB.ReadDroneFixed(); this.DroneFixReater.DataSource = dt; this.DroneFixReater.DataBind(); }