private void ImportData()
 {
     try
     {
         //Loading data into the form:
         using (DBAuditDataContext dc = new DBAuditDataContext())
         {
             if (ComboName.Text != "")
             {
                 string strName  = null;
                 string strNotes = null;
                 dc.ProSelectContractor(int.Parse(ComboName.SelectedValue.ToString()), ref strName,
                                        ref strNotes);
                 TxtName.Text  = strName;
                 TxtNotes.Text = strNotes;
             }
             else
             {
                 TxtName.Clear();
                 TxtNotes.Clear();
             }
         }
     }
     catch (NullReferenceException)
     {
     }
     catch (InvalidOperationException)
     {
         TxtName.Clear();
         TxtNotes.Clear();
         BtnDelete.Enabled = false;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }