Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

L'admin peut maintenant gerer les collections/fiches de tous les membres

  • Loading branch information...
commit 66c38d80a6bc7f858b368d833079dfbd5ec43818 1 parent cdf3bf2
@coylz coylz authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 contenu/HobbyCartes/HobbyCartes/Entites/Membre.vb
View
8 contenu/HobbyCartes/HobbyCartes/Entites/Membre.vb
@@ -80,6 +80,14 @@ Namespace Entites
End Try
End Function
+ Public Shared Function getIDbyPseudo(pseudo As String) As Integer
+ Dim dbCon As MySqlConnection = New MySqlConnection(My.Resources.StringConnexionBdd)
+ dbCon.Open()
+ Dim retour As Integer = getIDbyPseudo(pseudo, dbCon)
+ dbCon.Close()
+ Return retour
+ End Function
+
''' <summary>
''' Construit un membre avec son id dans la base de donnees.
''' Le membre va se construire en chargeant ses attributs depuis la base de donnees passee en parametre.
Please sign in to comment.
Something went wrong with that request. Please try again.