Torna al Thread

[CODE] id_utente = anagrafica_dipendenti.id_utente.Text Dim ds As New DataSet1 Dim da As New MySqlDataAdapter Dim strSQL As String conn.Open() cmd.Connection = conn strSQL = "SELECT utenti.* , rep_funz.* , funzione.* from utenti inner join funzione on utenti.rep_funz = funzione.id_funzione inner join rep_funz on funzione.id_reparto = rep_funz.id_rep_funz where utenti.id_utente = '" & id_utente & "'" da = New MySqlDataAdapter(strSQL, conn) da.Fill(ds, "utenti") [/CODE]
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5