Example #1
0
 protected void btnAddList_Click(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(txtTodoList.Text))
     {
         objListService.AddTaskList(txtTodoList.Text, this.DBConnectionString);
         txtTodoList.Text    = "";
         chkArchived.Checked = false;
         BindTaskList(chkArchived.Checked);
         lstTaskListV.SelectedIndex = lstTaskListV.Items.Count - 1;
         BindFilterGrid(Convert.ToInt32(lstTaskListV.SelectedItem.Value));
     }
 }