private void UpdateDatabase()
 {
     try
     {
         ProjectGateway projectGateway = new ProjectGateway(projectTDS);
         projectGateway.Update4();
         projectTDS.AcceptChanges();
     }
     catch (Exception ex)
     {
         string url = string.Format("./../../error_page.aspx?error={0}", ex.Message.Replace('\n', ' '));
         Response.Redirect(url);
     }
 }