1 2 3 4 5 6 7 8 9 10 11 12 13 14
| .........
[WebMethod]
public string MaJClient(int ID, string Nom, string Prenom, string Adresse, string Ville, int Telephone, string Email, string Motdepasse)
{
string tab;
try
{
tab = "update Client set Nom='" + Nom + "', Prenom='" + Prenom + "', Adresse='" + Adresse + "', Ville= '" + Ville + "', Telephone='" + Telephone + "', Email='" + Email + "', Motdepasse='" + Motdepasse + "' where (ID='" + ID + "')";
e.executNonQuery(tab);
return "Mise A Jour Reussie";
}
catch (Exception) { return "Echec De MAJ"; }
}
................................. |
Partager