Zbiór zmian 453 dla branches

Pokaż
Ignoruj:
Data:
2009-03-17 12:51:54 (17 years ago)
Autor:
marek
Opis:

re #123

Pliki:
1 zmodyfikowane

Legenda:

Bez zmian
Dodane
Usunięte
  • branches/TruckExpo/BazaReklam/ClientsForm.cs

    r452 r453  
    22292229                DataRowView row = (DataRowView)kLIENCI_OSOBY_DO_KONTAKTUBindingSource.Current; 
    22302230                string nrTel = row["Tel"].ToString(); 
     2231                if (string.IsNullOrEmpty(nrTel)) 
     2232                { 
     2233                    MessageBox.Show("Brak numer telefonu. Prawid³owy nr musi byæ w formacie +48xxxxxxxxx lub 0xxxxxxxxx"); 
     2234                    return; 
     2235                } 
     2236 
    22312237                int  customerId = Convert.ToInt32(row["customerId"]); 
    22322238 
     
    24782484                    r["data"] = DateTime.Now.AddMonths(-1); 
    24792485                    r["symbol_agenta"] = User.getUser().Login; 
     2486                    r["KontaktTypId"] = (byte)cbTypKontaktu.SelectedValue; 
    24802487 
    24812488                    kONTAKTYBindingSource.MoveLast();