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

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

            Response.Redirect("/taskinweek");
        }