utilisation du resultat de ma requete sqlserver
bonjour ,
je souhaite utiliser le resultat de ma requete mais je ne sais pas comment le faire, merci d'avance
:
Code:
1 2 3 4 5 6 7 8 9 10 11 12
| Dim connectionString As String = ConfigurationManager.ConnectionStrings.Item("Connexion_Evaluation_Risques").ConnectionString
Dim conn As SqlClient.SqlConnection
conn = New SqlConnection
conn.ConnectionString = connectionString
conn.Open()
Dim vReq As String = "SELECT le_passe FROM log_service where num_serv ='34'"
Dim comm As SqlCommand
comm = New SqlCommand
comm.Connection = conn
comm.CommandText = vReq |