Example #1
0
 protected void newProjectButton_Click(object sender, EventArgs e)
 {
     if (newProject.Text != String.Empty)
     {
         string name = newProject.Text;
         newProject.Text = String.Empty;
         TaskList project = new TaskList();
         project.Title = name;
         projectsDb.Save(project);
         ProjectsMenuRepeater.DataBind();
     }
 }