protected void HandleDeleteTask(object sender, GridViewDeleteEventArgs e)
        {
            string taskId = tasksGridView.DataKeys[e.RowIndex].Value.ToString();
            int    result = TasksBLL.DeleteTaskById(taskId);

            GridViewTaskBind();
        }
Exemple #2
0
        protected void HandleDeleteTask(object sender, EventArgs e)
        {
            int result = TasksBLL.DeleteTaskById(Convert.ToString(task.ID));

            Response.Redirect("/taskinweek");
        }