Beispiel #1
0
 public void EditAdministrator(clsAdministrator admin)
 {
     foreach (DataRow myrow in clsGlobal.tbAdministrators.Rows)
     {
         if (myrow["AdminID"].ToString() == admin.Id.ToString())
         {
             myrow["Nom"]          = admin.Name;
             myrow["Email"]        = admin.Email;
             myrow["Cellulaire"]   = admin.Phone;
             myrow["NAS"]          = admin.Ssn;
             myrow["DateEmbauche"] = admin.Hire_date;
             myrow["Password"]     = admin.Password;
         }
     }
 }