protected void projectIdDropDownList_SelectedIndexChanged(object sender, EventArgs e)
 {
     if (projectIdDropDownList.SelectedIndex.Equals(0))
     {
         titleTextBox.Text        = "";
         descriptionTextBox.Text  = "";
         startDateTextBox.Text    = "";
         estimateDateTextBox.Text = "";
         projectStatusLabel.Text  = "";
         errorLabel.Text          = "";
         successLabel.Text        = "";
         clientNameDropDownList.Items.Clear();
         FillClientDropmDownList();
         return;
     }
     try
     {
         ProjectGateway ProjectGatewayObject = new ProjectGateway();
         Project        projectObject        = ProjectGatewayObject.SelectProject(projectIdDropDownList.Text);
         titleTextBox.Text           = projectObject.Title;
         descriptionTextBox.Text     = projectObject.Description;
         startDateTextBox.Text       = projectObject.StartDate.ToString();
         estimateDateTextBox.Text    = projectObject.EstimateTime.ToString();
         projectStatusLabel.Text     = projectObject.Status.ToString();
         clientNameDropDownList.Text = projectObject.ClientId;
     }
     catch (SqlException sqlExceptionObj)
     {
         errorLabel.Text = sqlExceptionObj.Message;
     }
     catch (Exception exceptionObj)
     {
         errorLabel.Text = exceptionObj.Message;
     }
 }
    /// <summary>
    /// Load project Information
    /// </summary>
    private void LoadProjectInfo()
    {
        ProjectGateway ProjectGatewayObject = new ProjectGateway();
        Project        projectObject        = ProjectGatewayObject.SelectProject(projectDropDownList.SelectedItem.Value);

        clientIdLabel.Text      = projectObject.Client_Name;
        projectStatusLabel.Text = projectObject.Status;
    }